From ead32c8a06c3ec067c148c5efa6ddf0254324f30 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Sun, 30 Jul 2023 15:27:31 +0200 Subject: [PATCH] =?UTF-8?q?API=20assiduit=C3=A9s:=20/justificatif/nip//create,=20/justificatif/nip//create?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/justificatifs.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/api/justificatifs.py b/app/api/justificatifs.py index 78c751b4..6810fd0f 100644 --- a/app/api/justificatifs.py +++ b/app/api/justificatifs.py @@ -150,6 +150,14 @@ def justificatifs_dept(dept_id: int = None, with_query: bool = False): @bp.route("/justificatif//create", methods=["POST"]) @api_web_bp.route("/justificatif//create", methods=["POST"]) +@bp.route("/justificatif/etudid//create", methods=["POST"]) +@api_web_bp.route("/justificatif/etudid//create", methods=["POST"]) +# nip +@bp.route("/justificatif/nip//create", methods=["POST"]) +@api_web_bp.route("/justificatif/nip//create", methods=["POST"]) +# ine +@bp.route("/justificatif/ine//create", methods=["POST"]) +@api_web_bp.route("/justificatif/ine//create", methods=["POST"]) @scodoc @login_required @as_json