fix /usermanager/api/v1/extensions
(#730)
Requests to `POST /usermanager/api/v1/extensions` would silently fail due to a missing `await`.
This commit is contained in:
parent
6646fce549
commit
8079325ec9
|
@ -75,7 +75,7 @@ async def api_usermanager_activate_extension(
|
|||
raise HTTPException(
|
||||
status_code=HTTPStatus.NOT_FOUND, detail="User does not exist."
|
||||
)
|
||||
update_user_extension(user_id=userid, extension=extension, active=active)
|
||||
await update_user_extension(user_id=userid, extension=extension, active=active)
|
||||
return {"extension": "updated"}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user