[HOTFIX] Auth Credential Failures
Some checks failed
Deploy Edge Proxy / deploy-edge (push) Failing after 3s
Deploy USW-MC / deploy-edge (push) Failing after 2s
S3 Repo Backup / s3-repo-backup (push) Failing after 4s

This commit is contained in:
Dunemask 2024-03-29 13:40:27 -06:00
parent 626ebf9d1d
commit 6eed3fd694

View file

@ -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) => {