Update getCurrentUser.ts

awaiting next handler
This commit is contained in:
Aaron Po
2023-02-09 13:03:24 -05:00
committed by GitHub
parent 0fb013e250
commit bd68ecdec8

View File

@@ -19,7 +19,7 @@ const getCurrentUser = async (
}
req.user = user;
next();
await next();
};
export default getCurrentUser;