fix data
This commit is contained in:
@@ -69,11 +69,12 @@ class ProductsService(BaseService):
|
|||||||
'description': t.description,
|
'description': t.description,
|
||||||
'name': t.name,
|
'name': t.name,
|
||||||
'status': t.status,
|
'status': t.status,
|
||||||
'created_at': t.created_at.isoformat() if t.created_at else None,
|
'added': t.added.isoformat() if t.added else None,
|
||||||
'updated_at': t.updated_at.isoformat() if t.updated_at else None,
|
'updated': t.updated.isoformat() if t.updated else None,
|
||||||
'banner': t.banner,
|
'banner': t.banner,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
# products_data = [{
|
# products_data = [{
|
||||||
# 'id': t.id,
|
# 'id': t.id,
|
||||||
# 'uid': t.uid,
|
# 'uid': t.uid,
|
||||||
|
|||||||
Reference in New Issue
Block a user