fix: whitespace

This commit is contained in:
amhsirak
2024-11-19 16:54:18 +05:30
parent fc0f76f8a4
commit 239b9cf72a

View File

@@ -25,9 +25,7 @@ export const requireSignIn = (req: UserRequest, res: Response, next: any) => {
user.id = user.userId; user.id = user.userId;
delete user.userId; // temporary: del the old key for clarity delete user.userId; // temporary: del the old key for clarity
} }
req.user = user; req.user = user;
next(); next();
}); });
}; };