fix data
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user