diff --git a/backend/app.py b/backend/app.py index b93f88ecf1d6fdb0e53a685536d39e5f0d5c9098..438579af30c58aeeec44328f83c31fe341bbebeb 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 '''