fix return

This commit is contained in:
CHIEFSOFT\ameye
2025-09-22 09:54:24 -04:00
parent 3282815627
commit 0629824a6d
2 changed files with 5 additions and 4 deletions
+3 -1
View File
@@ -195,6 +195,8 @@ class MyProductsService(BaseService):
member_data = Members.get_member_by_uid(uid)
member_id = member_data.id
member_profile_data = MembersProfile.get_member_profile_by_profile_uid(uid)
product_id = validated_data.get('product_id')
product_data = Products.get_product_by_product_id(product_id)
@@ -205,7 +207,7 @@ class MyProductsService(BaseService):
"error_message": "Error - Please select a valid product to view",
"data": None,
"error": f"Product with ID {product_id} does not exist."
}, 4000
}, 400
logger.info(f"GET HERE ******************************** : {data}", exc_info=True)
mumberSub = MembersProducts.get_member_product_by_product_member_id(member_id, product_id)