This commit is contained in:
behruz-dev
2025-10-04 14:59:50 +05:00
parent 5ff390e2d7
commit a324998c4c

View File

@@ -31,7 +31,7 @@ class ProductCreateApiView(generics.GenericAPIView):
{
'success': True,
'message': "product successfully created!",
'product': self.serializer_class(data)
'product': self.serializer_class(data).data
},
status=201
)