Skip to content

Commit

Permalink
HOTFIX: I hate everything right now
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratstail91 committed Dec 23, 2023
1 parent 58bc3f6 commit ee705c6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "auth-server",
"version": "1.8.4",
"version": "1.8.5",
"description": "An API centric auth server. Uses Sequelize and mariaDB by default.",
"main": "server/server.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion server/utilities/token-decode.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = (req, res, next) => {

const decoded = jwt.decode(accessToken);

req.user = decoded.payload;
req.user = decoded;

return next();
};

0 comments on commit ee705c6

Please sign in to comment.