1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-01 17:38:38 +00:00

Fix typo & add test

This commit is contained in:
Jeremy Benoist 2016-10-05 19:30:56 +02:00
parent 5d39243068
commit 0b174d69d7
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
2 changed files with 8 additions and 1 deletions

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: '.$this->getUser->getId());
throw $this->createAccessDeniedException('URL is empty?, logged user id: '.$this->getUser()->getId());
}
$res = $this->getDoctrine()