make it betterlkj
This commit is contained in:
parent
2552d25604
commit
b540a36906
@ -1,6 +1,6 @@
|
|||||||
import User from "../models/userModel.js";
|
import User from "../models/userModel.js";
|
||||||
import jwt from "jsonwebtoken";
|
import jwt from "jsonwebtoken";
|
||||||
import ErrorHander from "../utils/errorhander.js"
|
import ErrorHander from "../Utils/errorhander.js"
|
||||||
|
|
||||||
export const isAuthenticatedUser = async (req, res, next) => {
|
export const isAuthenticatedUser = async (req, res, next) => {
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user