aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ApiBundle/Controller
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2016-10-05 15:28:36 +0200
committerGitHub <noreply@github.com>2016-10-05 15:28:36 +0200
commit5d39243068a3c1132f6e3020c6c9da1840f85fcf (patch)
tree99463ec52470619f031a00ae95504158f7f9f1e5 /src/Wallabag/ApiBundle/Controller
parent2fb9caeb2de119e83cab993d4c1e7f4b81227362 (diff)
downloadwallabag-5d39243068a3c1132f6e3020c6c9da1840f85fcf.tar.gz
wallabag-5d39243068a3c1132f6e3020c6c9da1840f85fcf.tar.zst
wallabag-5d39243068a3c1132f6e3020c6c9da1840f85fcf.zip
Fix exists API call
Boo
Diffstat (limited to 'src/Wallabag/ApiBundle/Controller')
-rw-r--r--src/Wallabag/ApiBundle/Controller/WallabagRestController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/ApiBundle/Controller/WallabagRestController.php b/src/Wallabag/ApiBundle/Controller/WallabagRestController.php
index 791bf80b..b2c73932 100644
--- a/src/Wallabag/ApiBundle/Controller/WallabagRestController.php
+++ b/src/Wallabag/ApiBundle/Controller/WallabagRestController.php
@@ -40,7 +40,7 @@ class WallabagRestController extends FOSRestController
40 $url = $request->query->get('url', ''); 40 $url = $request->query->get('url', '');
41 41
42 if (empty($url)) { 42 if (empty($url)) {
43 throw $this->createAccessDeniedException('URL is empty?, logged user id: '.$user->getId()); 43 throw $this->createAccessDeniedException('URL is empty?, logged user id: '.$this->getUser->getId());
44 } 44 }
45 45
46 $res = $this->getDoctrine() 46 $res = $this->getDoctrine()