mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-04-05 18:09:04 +00:00
Update api routes to use authenticated user
This commit is contained in:
@@ -15,7 +15,7 @@ export const UserSessionSchema = BasicUserInfoSchema.merge(
|
||||
}),
|
||||
);
|
||||
|
||||
export interface ExtendedNextApiRequest extends NextApiRequest {
|
||||
export interface UserExtendedNextApiRequest extends NextApiRequest {
|
||||
user?: z.infer<typeof GetUserSchema>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user