(20241218) Can now add tags to SMS messages while sending them, and small 'limit' bug fixed in listing mails where a huge no. of tokens are being sent.

This commit is contained in:
2024-12-18 11:10:18 +05:30
parent c340ebcba5
commit b42da0dacb
8 changed files with 32 additions and 13 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ def init(blueprint_setup_state):
attr_name = "logs_mongo",
project = constants.PROJECT_NAME,
log_type = constants.MODULE_NAME,
operation = "mailListByTokIdApi",
operation = "mailListApi",
log_input = True,
log_output = 1,
sensitive_keys = ["sessionToken", "X-Session-Token"]
+2 -1
View File
@@ -177,7 +177,8 @@ async def send_sms(
mongo_conn = current_app.data_mongo,
http_client = current_app.http_client,
auth_token = auth_token,
messages = inbound_data.message
messages = inbound_data.message,
tags = inbound_data.tags
)
# ┳┓