migrate to userExtra
This commit is contained in:
@@ -212,7 +212,7 @@ async def swipe(request):
|
||||
"door": data["door"],
|
||||
"approved": data["approved"],
|
||||
"user": token.get("inventory", {}).get("owner", {}).get("username", ""),
|
||||
"uid_hash": data["uid_hash"],
|
||||
"userExtra": data["uid_hash"],
|
||||
}
|
||||
await request.app.ctx.db.doorlog.insert_one(event_swipe)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user