Skip to content

Commit

Permalink
Add missing await
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-sherman committed Oct 4, 2024
1 parent 57392e9 commit 1c95b04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontpage/lib/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export const handlers = {
const url = new URL(request.url);

if (url.pathname.endsWith("/client-metadata.json")) {
return Response.json(getClientMetadata());
return Response.json(await getClientMetadata());
}

const key = await exportJWK(await getPublicJwk());
Expand Down

0 comments on commit 1c95b04

Please sign in to comment.