fix: remove await
This commit is contained in:
@@ -232,7 +232,7 @@ export async function createAuthSession(
|
|||||||
// Explicitly seal/flush the session to ensure cookie is written
|
// Explicitly seal/flush the session to ensure cookie is written
|
||||||
// This is important in serverless environments where response might stream early
|
// This is important in serverless environments where response might stream early
|
||||||
const { sealSession } = await import("vinxi/http");
|
const { sealSession } = await import("vinxi/http");
|
||||||
await sealSession(event, configWithMaxAge);
|
sealSession(event, configWithMaxAge);
|
||||||
|
|
||||||
console.log("[Session Create] Session sealed");
|
console.log("[Session Create] Session sealed");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user