fix contacts
This commit is contained in:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user