From 90bcd3d2761af61a989fe77c85cc0c573a1b72fd Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Wed, 25 Jun 2025 13:56:38 -0400 Subject: [PATCH] fix data --- app/api/services/products.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/api/services/products.py b/app/api/services/products.py index 0064f40..8e31c97 100644 --- a/app/api/services/products.py +++ b/app/api/services/products.py @@ -69,11 +69,12 @@ class ProductsService(BaseService): 'description': t.description, 'name': t.name, 'status': t.status, - 'created_at': t.created_at.isoformat() if t.created_at else None, - 'updated_at': t.updated_at.isoformat() if t.updated_at else None, + 'added': t.added.isoformat() if t.added else None, + 'updated': t.updated.isoformat() if t.updated else None, 'banner': t.banner, }) + # products_data = [{ # 'id': t.id, # 'uid': t.uid,