From 0064984f008d0a4c7ec45bec93335d3cc55cf609 Mon Sep 17 00:00:00 2001 From: VincentCauchois Date: Tue, 4 Jun 2024 16:21:19 +0200 Subject: [PATCH] fix(mtd): fix typo in associate_actors function --- backend/geonature/core/gn_meta/mtd/mtd_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/geonature/core/gn_meta/mtd/mtd_utils.py b/backend/geonature/core/gn_meta/mtd/mtd_utils.py index a52d373fc7..e8bde8bf04 100644 --- a/backend/geonature/core/gn_meta/mtd/mtd_utils.py +++ b/backend/geonature/core/gn_meta/mtd/mtd_utils.py @@ -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(