]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Controller/WallabagRestController.php
first test for API, need refactor
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Controller / WallabagRestController.php
index 27d11da5ec158c931f614186d51777a75f73fa3b..fcd212efb4507a4383bc41d1e7edcb97ee0a511c 100644 (file)
@@ -33,7 +33,7 @@ class WallabagRestController extends Controller
             throw $this->createNotFoundException();
         }
 
-        return $user->getSalt();
+        return array($user->getSalt());
     }
     /**
      * Retrieve all entries. It could be filtered by many options.