doorboy: fix enable on new tokens
This commit is contained in:
@@ -34,7 +34,7 @@ def view_doorboy_claim(event_id):
|
||||
"inventory.owner.username": { "$exists": False }
|
||||
}, {
|
||||
"$set": {
|
||||
"token.enabled": datetime.utcnow(),
|
||||
"token.enabled": True,
|
||||
"inventory.owner.display_name": user["name"],
|
||||
"inventory.owner.username": user["username"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user