Skip to content

Commit 370aaeb

Browse files
author
Valeriy Nayda
committed
GraphQL-43: [Query] My Account > My Wish List
-- Fix API-functional tests
1 parent 3ba0ed4 commit 370aaeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@ public function resolve(
4848
/** @var Item $wishlistItem */
4949
$wishlistItem = $value['model'];
5050

51-
return $this->productDataProvider->getProductDataById($wishlistItem->getProductId());
51+
return $this->productDataProvider->getProductDataById((int)$wishlistItem->getProductId());
5252
}
5353
}

0 commit comments

Comments
 (0)