Skip to content

Commit

Permalink
Merge pull request #125 from chizzyedoka/patch-1
Browse files Browse the repository at this point in the history
closes #124
  • Loading branch information
holabayor authored Sep 22, 2023
2 parents 18f48bd + 860a92f commit 442f6b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions middlewares/auth.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* eslint-disable camelcase */
const dotenv = require('dotenv');
const { createCustomError } = require('../errors/custom-errors');
const jwt = require('jsonwebtoken');
const { User } = require('../models/user.model');
const { createCustomError } = require('../errors/custom-errors');
const User = require('../models/user.model');

dotenv.config();
async function auth(req, res, next) {
Expand Down

0 comments on commit 442f6b8

Please sign in to comment.