Skip to content

Commit

Permalink
Merge pull request #25 from zans-laksa/3134-wishlist-fix
Browse files Browse the repository at this point in the history
Wishlist Request Fix
  • Loading branch information
carinadues authored Sep 27, 2021
2 parents 53cc81e + b932820 commit 0dd8851
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Model/Resolver/Wishlist/CreatorResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ public function resolve(
}

$customerId = $wishlist->getCustomerId();

if (!$customerId) {
return null;
}

/** @var CustomerInterface $customer */
$customer = $this->customerRepository->getById($customerId);

Expand Down

0 comments on commit 0dd8851

Please sign in to comment.