diff --git a/webserver.py b/webserver.py index fe55262..80230f1 100755 --- a/webserver.py +++ b/webserver.py @@ -99,7 +99,9 @@ async def push_message( @app.get("/variables") async def get_all_variables() -> AllVariablesModel: - return settings.variables + return AllVariablesModel( + variables=settings.variables + ) @app.get("/variables/{key}")