From 51858b6b8bcbfd72549b189041c19a5a16564de4 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Thu, 16 Mar 2023 12:45:06 +0100 Subject: [PATCH] Fix: API partition_remove_etud --- app/api/partitions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/partitions.py b/app/api/partitions.py index bfd1bca6..8a2d9782 100644 --- a/app/api/partitions.py +++ b/app/api/partitions.py @@ -251,7 +251,7 @@ def partition_remove_etud(partition_id: int, etudid: int): ) db.session.commit() # Update parcours - group.partition.formsemestre.update_inscriptions_parcours_from_groups() + partition.formsemestre.update_inscriptions_parcours_from_groups() app.set_sco_dept(partition.formsemestre.departement.acronym) sco_cache.invalidate_formsemestre(partition.formsemestre_id) return jsonify({"partition_id": partition_id, "etudid": etudid})