contact actions

This commit is contained in:
CHIEFSOFT\ameye
2026-05-09 08:20:35 -04:00
parent 7c0adae905
commit b909f1c987
+17 -2
View File
@@ -89,6 +89,21 @@ class ContactService(BaseService):
@staticmethod
def process_save_contacts(data):
logger.info(f"An error occurred: {data}", exc_info=True)
pass
logger.info(f"Process_save_contacts IN -> : {data}", exc_info=True)
message = data.get('message', '')
subscription_uid = data.get('subscription_uid', '')
title = data.get('title', '')
email = data.get('email', '')
sender = data.get('sender', '')
memSubb = MembersProducts.get_member_product_by_subscription_uid(subscription_uid)
if memSubb:
member_id = memSubb.member_id,
product_id = memSubb.product_id
if message != '' and title != '' and email != '' and sender != '':
logger.info(f"Ready to save data: {data}", exc_info=True)