From b402d07038e6bfe321a389ca68c1f063e723a9d6 Mon Sep 17 00:00:00 2001 From: vantezzen Date: Mon, 26 Aug 2019 21:27:07 +0200 Subject: Add more ferdi routes --- app/Controllers/Http/UserController.js | 1 + 1 file changed, 1 insertion(+) (limited to 'app/Controllers/Http/UserController.js') diff --git a/app/Controllers/Http/UserController.js b/app/Controllers/Http/UserController.js index f81a0d5..084b023 100644 --- a/app/Controllers/Http/UserController.js +++ b/app/Controllers/Http/UserController.js @@ -24,6 +24,7 @@ class UserController { if (validation.fails()) { return response.status(401).send({ "message": "Invalid POST arguments", + "messages": validation.messages(), "status": 401 }) } -- cgit v1.2.3-70-g09d2