aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2016-10-05 19:52:06 +0200
committerGitHub <noreply@github.com>2016-10-05 19:52:06 +0200
commit9d127b3b9365c73bc393bc303545f24c159cee31 (patch)
tree2db0c24cc788bfca372fc817c1642419fb676f1a /src/Wallabag
parent046f33e21bb96429933fc37ad756105f0ec67873 (diff)
parent0b174d69d77770fab617661c284095bc61d30c10 (diff)
downloadwallabag-9d127b3b9365c73bc393bc303545f24c159cee31.tar.gz
wallabag-9d127b3b9365c73bc393bc303545f24c159cee31.tar.zst
wallabag-9d127b3b9365c73bc393bc303545f24c159cee31.zip
Merge pull request #2377 from wallabag/fix-exists-api
Fix exists API call
Diffstat (limited to 'src/Wallabag')
-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..a0d9d4f3 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()