diff --git a/thermostat.py b/thermostat.py index 9829fe7..7a511ca 100644 --- a/thermostat.py +++ b/thermostat.py @@ -218,13 +218,10 @@ class Set_verbosity_thermostat(Resource): @auth_required @api.expect(Set_verbosity_model, validate=True) @api.marshal_with(Set_verbosity_model) - def put(self, value): + def put(self): print(api.payload) - print(value) return "OK", 201 - - api.add_namespace(ns_thermostat) with app.app_context(): db.create_all()