fix contacts

This commit is contained in:
CHIEFSOFT\ameye
2025-08-30 23:26:53 -04:00
parent 477d97e045
commit edd62a8174
2 changed files with 25 additions and 32 deletions
+12
View File
@@ -68,6 +68,18 @@ class Products(db.Model):
logger.info(json_output)
return json_output
@classmethod
def get_contact_supported_product_list(cls, member_id):
"""
Return all offers in dictionary format.
"""
product_list = cls.query.all()
if not product_list:
raise ValueError(f"No available Products")
return product_list
@classmethod
def get_user_product_list(cls, member_id):
"""