This commit is contained in:
CHIEFSOFT\ameye
2025-07-07 19:00:42 -04:00
parent 1396327c7e
commit 4d7f78dc75
+1 -1
View File
@@ -51,7 +51,7 @@ class MembersProducts(db.Model):
@classmethod
def get_member_product_by_product_member_id(cls, member_id, product_id):
member_product = cls.query.filter_by(member_id=str(member_id), product_id=str(product_id))
member_product = cls.query.filter_by(member_id=str(member_id), product_id=str(product_id)).first()
if not member_product:
return None
return member_product