update message for delete item
This commit is contained in:
@@ -87,7 +87,7 @@ class CartItemViews(APIView):
|
||||
|
||||
order_item.delete()
|
||||
return Response(
|
||||
{"detail": f"محصول {order_item.product.name} از سبد خرید پاک شد"},
|
||||
{"detail": "محصول با موفقیت از سبد خرید شما حذف شد"},
|
||||
status=status.HTTP_204_NO_CONTENT,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user