mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 10:42:08 +00:00
Update getCurrentUser.ts
awaiting next handler
This commit is contained in:
@@ -19,7 +19,7 @@ const getCurrentUser = async (
|
||||
}
|
||||
|
||||
req.user = user;
|
||||
next();
|
||||
await next();
|
||||
};
|
||||
|
||||
export default getCurrentUser;
|
||||
|
||||
Reference in New Issue
Block a user