From 78c870472807fea74da4336021309463d3f8caa7 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Tue, 24 Jun 2025 18:53:11 -0400 Subject: [PATCH] product id --- app/models/products.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/models/products.py b/app/models/products.py index 355a59e..ba86aea 100644 --- a/app/models/products.py +++ b/app/models/products.py @@ -43,8 +43,7 @@ class Products(db.Model): def get_user_product_list(cls, member_id): product_list = cls.query.filter_by( - id>0, - # status='active' + id > 0 ).all() return product_list