[HOTFIX] Auth Credential Failures
This commit is contained in:
parent
626ebf9d1d
commit
6eed3fd694
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ const cairoAuthHandler = (req, res, next) => {
|
||||||
console.log(authData);
|
console.log(authData);
|
||||||
if (!authData.id)
|
if (!authData.id)
|
||||||
throw Error(`Cairo didn't return the expected data! ${authData.id}`);
|
throw Error(`Cairo didn't return the expected data! ${authData.id}`);
|
||||||
req.id = authData.id;
|
req.cairoId = authData.id;
|
||||||
})
|
})
|
||||||
.then(() => next())
|
.then(() => next())
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue