mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-17 18:59:35 +01:00
Fix exists API call
Boo
This commit is contained in:
parent
2fb9caeb2d
commit
5d39243068
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user