mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-26 19:11:07 +00:00
Fix exists API call
Boo
This commit is contained in:
parent
2fb9caeb2d
commit
5d39243068
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class WallabagRestController extends FOSRestController
|
|||
$url = $request->query->get('url', '');
|
||||
|
||||
if (empty($url)) {
|
||||
throw $this->createAccessDeniedException('URL is empty?, logged user id: '.$user->getId());
|
||||
throw $this->createAccessDeniedException('URL is empty?, logged user id: '.$this->getUser->getId());
|
||||
}
|
||||
|
||||
$res = $this->getDoctrine()
|
||||
|
|
Loading…
Reference in a new issue