mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-10 07:26:48 +02:00
⬆️ v3.0.0 (#704)
This commit is contained in:
parent
735056f25f
commit
c22b3abc4d
385 changed files with 19912 additions and 5250 deletions
|
@ -19,7 +19,7 @@ export async function createContext(
|
|||
opts.req.session.user = user;
|
||||
await opts.req.session.save();
|
||||
}
|
||||
return { user, session: opts.req.session };
|
||||
return { user, session: opts.req.session, req: opts.req, res: opts.res };
|
||||
}
|
||||
|
||||
export type Context = trpc.inferAsyncReturnType<typeof createContext>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue