Fix: API /formsemestres_courants

This commit is contained in:
Emmanuel Viennet 2022-07-07 22:29:27 +02:00
parent 07cd5041ff
commit 5806cd29a7

View File

@ -153,4 +153,4 @@ def liste_semestres_courant(dept_ident: str):
FormSemestre.date_fin >= app.db.func.now(), 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])