contact actions
This commit is contained in:
@@ -89,6 +89,21 @@ class ContactService(BaseService):
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def process_save_contacts(data):
|
def process_save_contacts(data):
|
||||||
logger.info(f"An error occurred: {data}", exc_info=True)
|
logger.info(f"Process_save_contacts IN -> : {data}", exc_info=True)
|
||||||
pass
|
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)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user