(20241214) GMail URL generation bug fixed.
This commit is contained in:
@@ -155,7 +155,8 @@ class AuthTokenController(BaseModel):
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
projection = {
|
projection = {
|
||||||
"_id": True
|
"_id": True,
|
||||||
|
"key": True
|
||||||
},
|
},
|
||||||
upsert = True,
|
upsert = True,
|
||||||
return_updated = True
|
return_updated = True
|
||||||
@@ -182,7 +183,7 @@ class AuthTokenController(BaseModel):
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Done here:
|
# 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(
|
async def set_token(
|
||||||
self,
|
self,
|
||||||
|
|||||||
@@ -17,5 +17,7 @@ git commit -m "$COMMENT"
|
|||||||
echo "Commit done."
|
echo "Commit done."
|
||||||
|
|
||||||
# Push th commit to git:
|
# 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."
|
echo "Attempt done. Exiting."
|
||||||
Reference in New Issue
Block a user