forked from Github/frigate
Db fixes (#14364)
* Handle case where embeddings overflow token limit * Set notification tokens * Fix sort
This commit is contained in:
@@ -357,6 +357,7 @@ def create_user(request: Request, body: AppPostUsersBody):
|
||||
{
|
||||
User.username: body.username,
|
||||
User.password_hash: password_hash,
|
||||
User.notification_tokens: [],
|
||||
}
|
||||
).execute()
|
||||
return JSONResponse(content={"username": body.username})
|
||||
|
||||
Reference in New Issue
Block a user