Skip to content

Commit

Permalink
#300: Remove unused logger from auth service
Browse files Browse the repository at this point in the history
  • Loading branch information
tholulomo committed Feb 21, 2023
1 parent 59514c5 commit 121ccea
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion resfulservice/src/controllers/authController.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ exports.authenticationService = async (req, res, next) => {

try {
// 2. Auth service
logger.info(`authenticationService(): All Request Header: ${JSON.stringify(req.headers)}`);
logger.info(`authenticationService(): userEmail: ${req.headers[env.MM_AUTH_EMAIL_HEADER]}`);
if (req.headers[env.MM_AUTH_EMAIL_HEADER]) {
const error = new Error('No user info, auth service failure');
Expand Down

0 comments on commit 121ccea

Please sign in to comment.