migrate to userExtra

This commit is contained in:
2026-06-12 00:39:44 +03:00
parent 6b633af95e
commit 1d6fc9fd6f
2 changed files with 7 additions and 6 deletions

View File

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