diff options
Diffstat (limited to 'app/Controllers/Http/UserController.js')
-rw-r--r-- | app/Controllers/Http/UserController.js | 1 |
1 files changed, 1 insertions, 0 deletions
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 { | |||
24 | if (validation.fails()) { | 24 | if (validation.fails()) { |
25 | return response.status(401).send({ | 25 | return response.status(401).send({ |
26 | "message": "Invalid POST arguments", | 26 | "message": "Invalid POST arguments", |
27 | "messages": validation.messages(), | ||
27 | "status": 401 | 28 | "status": 401 |
28 | }) | 29 | }) |
29 | } | 30 | } |