Skip to content

Commit

Permalink
fix(mtd): fix typo in associate_actors function
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentCauchois authored and jacquesfize committed Jun 5, 2024
1 parent 911e000 commit 3b2d232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/geonature/core/gn_meta/mtd/mtd_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def associate_actors(actors, CorActor, pk_name, pk_value):
# FIXME: prevent update of organism email from actor email ! Several actors may be associated to the same organism and still have different mails !
id_organism = add_or_update_organism(
uuid=uuid_organism,
nom=actor["organism"] if actor["orgnanism"] else "",
nom=actor["organism"] if actor["organism"] else "",
email=actor["email"],
)
values = dict(
Expand Down

0 comments on commit 3b2d232

Please sign in to comment.