mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
Merge pull request #2377 from wallabag/fix-exists-api
Fix exists API call
This commit is contained in:
commit
9d127b3b93
2 changed files with 8 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…
Add table
Add a link
Reference in a new issue