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