File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -525,6 +525,7 @@ namespace Api\Book\Handler;
525
525
use Api\App\Handler\AbstractHandler;
526
526
use Api\Book\InputFilter\BookInputFilter;
527
527
use Api\Book\Service\BookServiceInterface;
528
+ use Dot\DependencyInjection\Attribute\Inject;
528
529
use Fig\Http\Message\StatusCodeInterface;
529
530
use Mezzio\Hal\HalResponseFactory;
530
531
use Mezzio\Hal\ResourceGenerator;
@@ -562,7 +563,7 @@ class BookHandler extends AbstractHandler implements RequestHandlerInterface
562
563
563
564
public function getCollection(ServerRequestInterface $request): ResponseInterface
564
565
{
565
- $books = $this->bookService->getBooks($request->getQueryParams());
566
+ $books = $this->bookService->getRepository()-> getBooks($request->getQueryParams());
566
567
567
568
return $this->createResponse($request, $books);
568
569
}
You can’t perform that action at this time.
0 commit comments