FIX GET /variables
This commit is contained in:
parent
233507e1ff
commit
6575d8694b
1 changed files with 3 additions and 1 deletions
|
@ -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}")
|
||||
|
|
Loading…
Reference in a new issue