Skip to content

Commit

Permalink
tmp : debug
Browse files Browse the repository at this point in the history
  • Loading branch information
soumyadip007 committed Feb 7, 2024
1 parent 76e1853 commit 69d0840
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions middlewares/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ const events = async function (req, res, next) {
};

const verifyEvent = async (req) => {
console.log(config.gitBrokerSecret);
console.log(req.headers);
console.log(req.headers['authorization']);
return config.gitBrokerSecret === req.headers['authorization'];
};

Expand Down

0 comments on commit 69d0840

Please sign in to comment.