diff --git a/app/api/routes/routes.py b/app/api/routes/routes.py index 119b57f..2564596 100644 --- a/app/api/routes/routes.py +++ b/app/api/routes/routes.py @@ -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) diff --git a/app/api/services/contacts.py b/app/api/services/contacts.py index 2d94555..7b4d79c 100644 --- a/app/api/services/contacts.py +++ b/app/api/services/contacts.py @@ -89,5 +89,6 @@ class ContactService(BaseService): @staticmethod def process_save_contacts(data): + logger.info(f"An error occurred: {data}", exc_info=True) pass