diff options
Diffstat (limited to 'src/Wallabag/ApiBundle/Controller')
-rw-r--r-- | src/Wallabag/ApiBundle/Controller/WallabagRestController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/ApiBundle/Controller/WallabagRestController.php b/src/Wallabag/ApiBundle/Controller/WallabagRestController.php index d9035cac..84bc14a9 100644 --- a/src/Wallabag/ApiBundle/Controller/WallabagRestController.php +++ b/src/Wallabag/ApiBundle/Controller/WallabagRestController.php | |||
@@ -9,6 +9,7 @@ use Nelmio\ApiDocBundle\Annotation\ApiDoc; | |||
9 | use Symfony\Component\HttpFoundation\Request; | 9 | use Symfony\Component\HttpFoundation\Request; |
10 | use Symfony\Component\HttpFoundation\Response; | 10 | use Symfony\Component\HttpFoundation\Response; |
11 | use Symfony\Component\Routing\Generator\UrlGeneratorInterface; | 11 | use Symfony\Component\Routing\Generator\UrlGeneratorInterface; |
12 | use Symfony\Component\Security\Core\Exception\AccessDeniedException; | ||
12 | use Wallabag\CoreBundle\Entity\Entry; | 13 | use Wallabag\CoreBundle\Entity\Entry; |
13 | use Wallabag\CoreBundle\Entity\Tag; | 14 | use Wallabag\CoreBundle\Entity\Tag; |
14 | 15 | ||
@@ -73,7 +74,6 @@ class WallabagRestController extends FOSRestController | |||
73 | $order = $request->query->get('order', 'desc'); | 74 | $order = $request->query->get('order', 'desc'); |
74 | $page = (int) $request->query->get('page', 1); | 75 | $page = (int) $request->query->get('page', 1); |
75 | $perPage = (int) $request->query->get('perPage', 30); | 76 | $perPage = (int) $request->query->get('perPage', 30); |
76 | $tags = $request->query->get('tags', []); | ||
77 | 77 | ||
78 | $pager = $this->getDoctrine() | 78 | $pager = $this->getDoctrine() |
79 | ->getRepository('WallabagCoreBundle:Entry') | 79 | ->getRepository('WallabagCoreBundle:Entry') |