From 5806cd29a74796b4f482340350cd5d48baf2ce9f Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Thu, 7 Jul 2022 22:29:27 +0200 Subject: [PATCH] Fix: API /formsemestres_courants --- app/api/departements.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/departements.py b/app/api/departements.py index fca5d6a8..853dc712 100644 --- a/app/api/departements.py +++ b/app/api/departements.py @@ -153,4 +153,4 @@ def liste_semestres_courant(dept_ident: str): FormSemestre.date_fin >= app.db.func.now(), ) - return jsonify([d.to_dict() for d in formsemestres]) + return jsonify([d.to_dict(convert_parcours=True) for d in formsemestres])