Set error name to Unauthorized-Error

This commit is contained in:
Adrian Obelmejias
2016-03-04 23:42:51 -05:00
parent f5bfba49c5
commit 2f0c87ce91
+1 -1
View File
@@ -9,7 +9,7 @@ const router = new Router({ prefix: '/auth' })
* @apiDefine TokenError
* @apiError Unauthorized Invalid JWT token
*
* @apiErrorExample {json} Error-Response:
* @apiErrorExample {json} Unauthorized-Error:
* HTTP/1.1 401 Unauthorized
* {
* "status": 401,