From aa50329baa8448ef4fbfaf1ad8c60463b8ea2d45 Mon Sep 17 00:00:00 2001
From: CemAdg <cem.akdag@hotmail.de>
Date: Tue, 29 Jun 2021 11:18:34 +0200
Subject: [PATCH] app.py updated

---
 backend/app.py | 21 ---------------------
 1 file changed, 21 deletions(-)

diff --git a/backend/app.py b/backend/app.py
index b93f88e..438579a 100644
--- a/backend/app.py
+++ b/backend/app.py
@@ -107,27 +107,6 @@ def create_app(test_config=None):
             abort(422)
 
 
-    """
-    GET /lamp/reset
-    Reset all lamps
-    """    
-    @app.route('/lamp/reset', methods=['GET'])
-    def reset_lamps():
-        
-        try:
-        
-             # deactivate all GPIO Pins 
-
-            return jsonify({
-                'lamp_id': lamp_id,
-                'success': True
-            })
-
-        except BaseException:
-            abort(422)
-
-
-
     '''
     error handlers for aborts
     '''
-- 
GitLab