FIX GET /variables

This commit is contained in:
boyska 2023-08-18 17:22:46 +02:00
parent 233507e1ff
commit 6575d8694b

View file

@ -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}")