forked from ScoDoc/ScoDoc
Fix: API partitions/order
This commit is contained in:
parent
1796279d8a
commit
ee93cf1e9b
@ -417,7 +417,7 @@ def formsemestre_order_partitions(formsemestre_id: int):
|
||||
db.session.commit()
|
||||
app.set_sco_dept(formsemestre.departement.acronym)
|
||||
sco_cache.invalidate_formsemestre(formsemestre_id)
|
||||
return jsonify(formsemestre.to_dict())
|
||||
return jsonify(formsemestre.to_dict(convert_objects=True))
|
||||
|
||||
|
||||
@bp.route("/partition/<int:partition_id>/groups/order", methods=["POST"])
|
||||
|
Loading…
Reference in New Issue
Block a user