This commit is contained in:
CHIEFSOFT\ameye
2025-09-29 11:52:58 -04:00
parent 008ddb53b4
commit 862eaeb075
3 changed files with 78 additions and 1 deletions
+2 -1
View File
@@ -22,7 +22,8 @@ class ProductsTemplates(db.Model):
templates = cls.query.filter_by(product_id=str(product_id)).all()
if not templates:
raise ValueError(f"Templates with Product ID {product_id} not found")
# raise ValueError(f"Templates with Product ID {product_id} not found")
return None
return templates
@classmethod