contact actions
This commit is contained in:
@@ -496,7 +496,7 @@ def myproduct_subscription():
|
|||||||
data = request.get_json()
|
data = request.get_json()
|
||||||
# logger.info(f"Route MyProduct Data ==>>>> {data}")
|
# logger.info(f"Route MyProduct Data ==>>>> {data}")
|
||||||
response = MyProductsService.process_subscription(data)
|
response = MyProductsService.process_subscription(data)
|
||||||
GenerativesService.process_generatives_list(response) #INITIATE GENERATIVES
|
# GenerativesService.process_generatives_list(response) #INITIATE GENERATIVES
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
|
||||||
@@ -866,6 +866,7 @@ def get_web_contents():
|
|||||||
# @token_required
|
# @token_required
|
||||||
def get_web_receive_contacts():
|
def get_web_receive_contacts():
|
||||||
# Call the dashboard service
|
# Call the dashboard service
|
||||||
|
logger.info("CONTACT FORM FROM ****** ")
|
||||||
data = request.get_json()
|
data = request.get_json()
|
||||||
result = ContactService.process_save_contacts(data)
|
result = ContactService.process_save_contacts(data)
|
||||||
return jsonify(result)
|
return jsonify(result)
|
||||||
|
|||||||
@@ -89,5 +89,6 @@ 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)
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user