Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
🐛 Wait for session to save (#651)
Luke Vellada97c940126d
diff --git a/packages/backend/trpc/context.ts b/packages/backend/trpc/context.tsindex 725ac6f0a..e1e90b4c9 100644--- a/packages/backend/trpc/context.ts+++ b/packages/backend/trpc/context.ts@@ -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 };}