(20241214) GMail URL generation bug fixed.
This commit is contained in:
@@ -155,7 +155,8 @@ class AuthTokenController(BaseModel):
|
||||
}
|
||||
},
|
||||
projection = {
|
||||
"_id": True
|
||||
"_id": True,
|
||||
"key": True
|
||||
},
|
||||
upsert = True,
|
||||
return_updated = True
|
||||
@@ -182,7 +183,7 @@ class AuthTokenController(BaseModel):
|
||||
)
|
||||
|
||||
# Done here:
|
||||
return auth_token.key if mongo_json and db_json.get("status") == 1 else None
|
||||
return mongo_json["key"] if mongo_json and db_json.get("status") == 1 else None
|
||||
|
||||
async def set_token(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user