diff --git a/app/api/sco_api.py b/app/api/sco_api.py index d824132b..93c1a997 100644 --- a/app/api/sco_api.py +++ b/app/api/sco_api.py @@ -167,7 +167,7 @@ def etudiant_bulletin_semestre(etudid, sem_id): @bp.route("/formsemestre//departements//etudiant/nip//releve") @bp.route("/formsemestre//departements//etudiant/id//releve") -@bp.route("/formsemestre//departements//etudiant/ine//departements//etudiant/ine//releve") @token_auth.login_required def etudiant_bulletin(formsemestre_id, dept, etudid, format="json", *args, size): """ @@ -197,7 +197,7 @@ def etudiant_groups(etudid : int, fromsemestre_id : int): #######################" Programmes de formations ######################### @bp.route("/formations") -@bp.route("/formations/") @token_auth.login_required def formations(formation_id : int): """ @@ -215,7 +215,7 @@ def formation_export(formation_id : int, export_ids=False): ###################### UE ####################################### -@bp.route("/departements//formations/programme/string:sem_id>") +@bp.route("/departements//formations/programme/") @token_auth.login_required def eus(dept : str, sem_id : int): """