From d7516293d591a8552d2fef1862983e861f4574ed Mon Sep 17 00:00:00 2001 From: leonard_montalbano Date: Wed, 29 Dec 2021 11:59:22 +0100 Subject: [PATCH] mini correction route --- app/api/sco_api.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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): """