Skip to content

Commit

Permalink
feat: removed the tested log
Browse files Browse the repository at this point in the history
  • Loading branch information
Ameerjafar committed May 18, 2024
1 parent 6b180ca commit 1098ac7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion backend/middlewares/auth-middleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { HTTP_STATUS, RESPONSE_MESSAGES } from '../utils/constants.js';
import jwt from 'jsonwebtoken';

export const authMiddleware = async (req, res, next) => {
console.log('this is the good thing');
const token = req.cookies?.access_token;
if (!token) {
return next(new ApiError(HTTP_STATUS.BAD_REQUEST, RESPONSE_MESSAGES.USERS.RE_LOGIN));
Expand Down

0 comments on commit 1098ac7

Please sign in to comment.