Skip to content

Commit

Permalink
add missing await
Browse files Browse the repository at this point in the history
  • Loading branch information
brkalow committed Feb 25, 2025
1 parent 5997997 commit 0616f1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nextjs/src/app-router/keyless-actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0616f1c

Please sign in to comment.