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