From 0616f1c8f6e86f3360fd6a4d8c9b53e02a11e99f Mon Sep 17 00:00:00 2001 From: Bryce Kalow Date: Tue, 25 Feb 2025 16:35:30 -0600 Subject: [PATCH] add missing await --- packages/nextjs/src/app-router/keyless-actions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nextjs/src/app-router/keyless-actions.ts b/packages/nextjs/src/app-router/keyless-actions.ts index 59b3ad24f1..3219ff8155 100644 --- a/packages/nextjs/src/app-router/keyless-actions.ts +++ b/packages/nextjs/src/app-router/keyless-actions.ts @@ -13,7 +13,7 @@ export async function syncKeylessConfigAction(args: AccountlessApplication & { r const cookieStore = await cookies(); const request = new Request('https://placeholder.com', { headers: await headers() }); - const keyless = getKeylessCookieValue(name => cookieStore.get(name)?.value); + const keyless = await getKeylessCookieValue(name => cookieStore.get(name)?.value); const pksMatch = keyless?.publishableKey === publishableKey; const sksMatch = keyless?.secretKey === secretKey; if (pksMatch && sksMatch) {