added string cast

This commit is contained in:
CHIEFSOFT\ameye
2026-01-24 09:03:02 -05:00
parent 887632c707
commit 56a51186f5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ class ProductsTemplates(db.Model):
@classmethod
def get_template_by_uid(cls, template_uid):
selTemplate = cls.query.filter_by(uid=template_uid).first()
selTemplate = cls.query.filter_by(uid=str(template_uid)).first()
if not selTemplate:
return None
return selTemplate