mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-29 18:26:34 +02:00
🐛 Wait for session to save (#651)
This commit is contained in:
parent
12be9851e1
commit
da97c94012
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ export async function createContext(
|
|||
isGuest: true,
|
||||
};
|
||||
opts.req.session.user = user;
|
||||
opts.req.session.save();
|
||||
await opts.req.session.save();
|
||||
}
|
||||
return { user, session: opts.req.session };
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue