correction de str en string pour la route reset_etud_abs

This commit is contained in:
leonard_montalbano 2022-05-24 16:02:11 +02:00
parent fc4348d150
commit 248e78a188

View File

@ -176,17 +176,17 @@ def abs_groupe_etat(group_id: int, date_debut=None, date_fin=None):
@bp.route(
"/absences/etudid/<int:etudid>/list_abs/<str:list_abs>/reset_etud_abs",
"/absences/etudid/<int:etudid>/list_abs/<string:list_abs>/reset_etud_abs",
methods=["POST"],
defaults={"just_or_not": 0},
)
@bp.route(
"/absences/etudid/<int:etudid>/list_abs/<str:list_abs>/reset_etud_abs/only_not_just",
"/absences/etudid/<int:etudid>/list_abs/<string:list_abs>/reset_etud_abs/only_not_just",
methods=["POST"],
defaults={"just_or_not": 1},
)
@bp.route(
"/absences/etudid/<int:etudid>/list_abs/<str:list_abs>/reset_etud_abs/only_just",
"/absences/etudid/<int:etudid>/list_abs/<string:list_abs>/reset_etud_abs/only_just",
methods=["POST"],
defaults={"just_or_not": 2},
)