From 248e78a188445d4e5787adcf6c2f7e9c343bfb57 Mon Sep 17 00:00:00 2001 From: leonard_montalbano Date: Tue, 24 May 2022 16:02:11 +0200 Subject: [PATCH] correction de str en string pour la route reset_etud_abs --- app/api/absences.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/api/absences.py b/app/api/absences.py index a9556d859..2d3e30222 100644 --- a/app/api/absences.py +++ b/app/api/absences.py @@ -176,17 +176,17 @@ def abs_groupe_etat(group_id: int, date_debut=None, date_fin=None): @bp.route( - "/absences/etudid//list_abs//reset_etud_abs", + "/absences/etudid//list_abs//reset_etud_abs", methods=["POST"], defaults={"just_or_not": 0}, ) @bp.route( - "/absences/etudid//list_abs//reset_etud_abs/only_not_just", + "/absences/etudid//list_abs//reset_etud_abs/only_not_just", methods=["POST"], defaults={"just_or_not": 1}, ) @bp.route( - "/absences/etudid//list_abs//reset_etud_abs/only_just", + "/absences/etudid//list_abs//reset_etud_abs/only_just", methods=["POST"], defaults={"just_or_not": 2}, )