From 6eed3fd694ea1d1c8cfa0f88f21af206d50f2c71 Mon Sep 17 00:00:00 2001 From: Dunemask Date: Fri, 29 Mar 2024 13:40:27 -0600 Subject: [PATCH] [HOTFIX] Auth Credential Failures --- lib/routes/middlewares/auth-middleware.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routes/middlewares/auth-middleware.js b/lib/routes/middlewares/auth-middleware.js index bf9beda..37fe39c 100644 --- a/lib/routes/middlewares/auth-middleware.js +++ b/lib/routes/middlewares/auth-middleware.js @@ -32,7 +32,7 @@ const cairoAuthHandler = (req, res, next) => { console.log(authData); if (!authData.id) throw Error(`Cairo didn't return the expected data! ${authData.id}`); - req.id = authData.id; + req.cairoId = authData.id; }) .then(() => next()) .catch((err) => {