From c2af4ff9e8a9117468b7c66cf05be6b6d6f58e56 Mon Sep 17 00:00:00 2001 From: Vincent BENOIT Date: Fri, 23 Dec 2022 16:43:02 +0100 Subject: [PATCH] correction bug --- ConfBack/auth/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ConfBack/auth/views.py b/ConfBack/auth/views.py index 3897ee8..1380ef4 100644 --- a/ConfBack/auth/views.py +++ b/ConfBack/auth/views.py @@ -177,7 +177,7 @@ def reboot(): @auth.route('/shutdown', methods=['POST']) @jwt_required() -def reboot(): +def shutdown(): ''' Handles HTTP requests to URL: /api/configurateur/shutdown ''' current_app.logger.info("Arrêt du système ...")