From 5bc317525fd654770741554f14751d33f4f8a08c Mon Sep 17 00:00:00 2001 From: Adam Altman Date: Wed, 6 Dec 2017 11:49:54 -0600 Subject: [PATCH] Fix typo: example uses the User aggregate --- .../Service/User/AggregateVersion/ViewWishesService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Lw/Application/Service/User/AggregateVersion/ViewWishesService.php b/src/Lw/Application/Service/User/AggregateVersion/ViewWishesService.php index e6bc06e..4d1c611 100644 --- a/src/Lw/Application/Service/User/AggregateVersion/ViewWishesService.php +++ b/src/Lw/Application/Service/User/AggregateVersion/ViewWishesService.php @@ -24,6 +24,6 @@ public function __construct(UserRepository $userRepository) */ public function execute($request = null) { - return $this->wishRepository->ofUserId(new UserId($request->userId())); + return $this->userRepository->ofUserId(new UserId($request->userId())); } }