From 938d46938893bbc484ad541907d7e6bfedcefa3e Mon Sep 17 00:00:00 2001 From: Rizwan Mustafa <69350358+rizwanmustafa@users.noreply.github.com> Date: Fri, 14 Jan 2022 20:20:04 +0500 Subject: [PATCH] Fixed typo (#2300) --- backend/middlewares/auth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/middlewares/auth.js b/backend/middlewares/auth.js index b99e88379..62807527f 100644 --- a/backend/middlewares/auth.js +++ b/backend/middlewares/auth.js @@ -23,7 +23,7 @@ module.exports = { throw new MonkeyError( 401, "Unauthorized", - `endpoint: ${req.baseUrl} no authrizaion header found` + `endpoint: ${req.baseUrl} no authorization header found` ); const token = authorization.split(" "); if (token[0].trim() !== "Bearer")