mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 15:45:27 +03:00
Set notification tokens
This commit is contained in:
parent
88f6c3d096
commit
bd8ab80766
@ -357,6 +357,7 @@ def create_user(request: Request, body: AppPostUsersBody):
|
|||||||
{
|
{
|
||||||
User.username: body.username,
|
User.username: body.username,
|
||||||
User.password_hash: password_hash,
|
User.password_hash: password_hash,
|
||||||
|
User.notification_tokens: [],
|
||||||
}
|
}
|
||||||
).execute()
|
).execute()
|
||||||
return JSONResponse(content={"username": body.username})
|
return JSONResponse(content={"username": body.username})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user