(20241214) GMail URL generation bug fixed.

This commit is contained in:
2024-12-14 12:08:19 +05:30
parent c673c3511f
commit dc181c4995
2 changed files with 6 additions and 3 deletions
+3 -2
View File
@@ -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,
+3 -1
View File
@@ -17,5 +17,7 @@ git commit -m "$COMMENT"
echo "Commit done."
# Push th commit to git:
git push -u https://wtt.ditscentre.in/ditscentre/api_utils_converse_v2.git master
echo "Branch : "
read -r BRANCH
git push -u https://wtt.ditscentre.in/ditscentre/api_utils_converse_v2.git "$BRANCH"
echo "Attempt done. Exiting."