From 3d99da6d878d3c413dc99883cb84cf635bb28e98 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Thu, 17 Jul 2025 17:48:14 -0400 Subject: [PATCH] added fields --- app/api/services/products.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/api/services/products.py b/app/api/services/products.py index a7f3917..8d1d70c 100644 --- a/app/api/services/products.py +++ b/app/api/services/products.py @@ -74,7 +74,7 @@ class ProductsService(BaseService): 'description': t.description, 'name': t.name, # 'status': t.status, - 'status': 5, + 'status': t.status, 'added': t.added.isoformat() if t.added else None, 'updated': t.updated.isoformat() if t.updated else None, 'banner': t.banner, @@ -142,6 +142,7 @@ class ProductsService(BaseService): 'name': t.product_id, 'description': t.product_id, 'product_id': t.product_id, + 'url_protocol': 'http', 'internal_url': t.internal_url, 'external_url': t.external_url, 'status': t.status,