Features: 1) Pass wishlist to WishlistDetailSerializer for correct data serialization;
Fixes: None; Extra: None;
This commit is contained in:
parent
190fb479be
commit
631d0b503e
1 changed files with 1 additions and 1 deletions
|
|
@ -389,7 +389,7 @@ class WishlistViewSet(EvibesViewSet):
|
|||
raise PermissionDenied(permission_denied_message)
|
||||
return Response(
|
||||
status=status.HTTP_200_OK,
|
||||
data=WishlistDetailSerializer().data,
|
||||
data=WishlistDetailSerializer(wishlist).data,
|
||||
)
|
||||
|
||||
@action(detail=True, methods=["post"], url_path="add_wishlist_product")
|
||||
|
|
|
|||
Loading…
Reference in a new issue