Fix: API partition_remove_etud

This commit is contained in:
Emmanuel Viennet 2023-03-16 12:45:06 +01:00
parent 67058fc25c
commit 51858b6b8b

View File

@ -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})