forked from wallabag/wallabag
Fix exists API call
Boo
This commit is contained in:
@ -40,7 +40,7 @@ class WallabagRestController extends FOSRestController
|
|||||||
$url = $request->query->get('url', '');
|
$url = $request->query->get('url', '');
|
||||||
|
|
||||||
if (empty($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()
|
$res = $this->getDoctrine()
|
||||||
|
|||||||
Reference in New Issue
Block a user