From 2f0c87ce91fe44912fc8637d1a1e66b276cc7509 Mon Sep 17 00:00:00 2001 From: Adrian Obelmejias Date: Fri, 4 Mar 2016 23:42:51 -0500 Subject: [PATCH] Set error name to `Unauthorized-Error` --- src/controllers/auth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/auth.js b/src/controllers/auth.js index 5616701..bfef202 100644 --- a/src/controllers/auth.js +++ b/src/controllers/auth.js @@ -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,