Set notification tokens

This commit is contained in:
Nicolas Mowen 2024-10-15 07:03:42 -06:00
parent 88f6c3d096
commit bd8ab80766

View File

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