Fix exists API call

Boo
This commit is contained in:
Thomas Citharel 2016-10-05 15:28:36 +02:00 committed by GitHub
parent 2fb9caeb2d
commit 5d39243068

View file

@ -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()