Skip to content

Commit 30aebc3

Browse files
author
Prabhu Ram
committed
MC-37250: [GraphQl] Change exception message when wishlist is not enabled
- updated exception messages
1 parent 28efcf2 commit 30aebc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/WishlistGraphQl/Model/Resolver/AddProductsToWishlist.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public function resolve(
9797
$wishlist = $this->getWishlist($wishlistId, $customerId);
9898

9999
if (null === $wishlist->getId() || $customerId !== (int) $wishlist->getCustomerId()) {
100-
throw new GraphQlInputException(__('The wishlist configuration is currently disabled.'));
100+
throw new GraphQlInputException(__('The wishlist was not found.'));
101101
}
102102

103103
$wishlistItems = $this->getWishlistItems($args['wishlistItems']);

0 commit comments

Comments
 (0)