(20250117) Minor changes in NSE scraper for getting constituents of an index.

This commit is contained in:
2025-01-17 15:36:09 +05:30
parent 75a71e2099
commit 32c243f3d3
6 changed files with 25 additions and 37 deletions
@@ -6,7 +6,7 @@
DATE:
Friday, 13th Dec., 2024
Friday, 17th Jan., 2025.
OBJECTIVE:
@@ -188,7 +188,7 @@ async def update_mail_tags(
# We check if the token that was used to fetch the mail is owned by this user:
if not await token_check.is_authorized(
mongo_conn=current_app.data_mongo,
mongo_data_conn = current_app.data_mongo,
user_info = CoreUserInfoModel(**kwargs["session_info"]),
token_ids = [message.tokenId]
): return ResponseModel(
@@ -203,7 +203,7 @@ async def update_mail_tags(
# ┛
# Update the mail:
success = await current_app.mail_controller.update_tags(
success = await current_app.mail_controller.update_mail_tags(
mongo_conn = current_app.data_mongo,
message_id = inbound_data.messageId,
unset_tags = inbound_data.unsetTags,