From 35621d42f9fc0f63038a14771227225f83db3e5d Mon Sep 17 00:00:00 2001 From: vincent Date: Sun, 13 Jun 2021 21:04:19 +0200 Subject: [PATCH] NotImplementedError execption in not define endpoint --- ITPlanning/api/appointement.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ITPlanning/api/appointement.py b/ITPlanning/api/appointement.py index 89f93ff..3748738 100644 --- a/ITPlanning/api/appointement.py +++ b/ITPlanning/api/appointement.py @@ -92,14 +92,14 @@ def get_appointment_by_ticket(id): @api.route("/appointment", methods=["POST"]) def new_appointment(): - pass + raise NotImplementedError @api.route("/appointment", methods=["PUT"]) def update_appointment(): - pass + raise NotImplementedError @api.route("/appointment", methods=["DELETE"]) def delete_appointment(): - pass + raise NotImplementedError