(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:
@@ -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"]
|
||||
|
||||
@@ -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
|
||||
)
|
||||
|
||||
# ┳┓
|
||||
|
||||
Reference in New Issue
Block a user