Skip to content

Commit 4933fd2

Browse files
maximizeITCopilot
andauthored
Update scaffoldTpl/lib/ssoMiddleware/index.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent c42c785 commit 4933fd2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scaffoldTpl/lib/ssoMiddleware/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ function ssoMiddleWare(secret) {
2525
req.sbSSO = tokenData;
2626
console.log("TokenData:", tokenData);
2727
return next();
28-
} catch (error_) {
29-
console.log("Error decoding token:", error_);
28+
} catch (err) {
29+
console.log("Error decoding token:", err);
3030
return next();
3131
}
3232
}

0 commit comments

Comments
 (0)