mini correction route

This commit is contained in:
leonard_montalbano 2021-12-29 11:59:22 +01:00
parent ea4d27dffc
commit d7516293d5
1 changed files with 3 additions and 3 deletions

View File

@ -167,7 +167,7 @@ def etudiant_bulletin_semestre(etudid, sem_id):
@bp.route("/formsemestre/<int:formsemestre_id>/departements/<string:dept>/etudiant/nip/<int:NIP>/releve")
@bp.route("/formsemestre/<int:formsemestre_id>/departements/<string:dept>/etudiant/id/<int:etudid>/releve")
@bp.route("/formsemestre/<int:formsemestre_id>/departements/<string:dept>/etudiant/ine/<int:numScodoc/releve")
@bp.route("/formsemestre/<int:formsemestre_id>/departements/<string:dept>/etudiant/ine/<int:numScodoc>/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/<int:formation_id")
@bp.route("/formations/<int:formation_id>")
@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/<string:dept>/formations/programme/string:sem_id>")
@bp.route("/departements/<string:dept>/formations/programme/<string:sem_id>")
@token_auth.login_required
def eus(dept : str, sem_id : int):
"""