Skip to content

Commit

Permalink
Create new wishlisth along with creating wishlist token
Browse files Browse the repository at this point in the history
  • Loading branch information
senghe committed Oct 23, 2023
1 parent 97af3fe commit 8968639
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/EventSubscriber/CreateNewWishlistSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ public function onKernelRequest(RequestEvent $event): void
if (null === $wishlistCookieToken)
{
$wishlistCookieToken = $this->wishlistCookieTokenResolver->resolve();
$this->createNewWishlist($wishlistCookieToken);
}

$request->attributes->set($this->wishlistCookieToken, $wishlistCookieToken);
Expand Down

0 comments on commit 8968639

Please sign in to comment.