format:format and fix code

This commit is contained in:
jiangrui
2025-02-24 15:22:43 +08:00
parent c784b562c4
commit f5106e782a
46 changed files with 2055 additions and 1172 deletions

View File

@@ -15,7 +15,7 @@ export const authMiddleware = async (
req: AuthenticatedRequest,
res: Response,
next: NextFunction
) => {
): Promise<void | Response> => {
if (req.path === "/user/login" || req.path === "/user/register") {
return next();
}