Skip to content

Commit

Permalink
fix: requestFromVanilla headers
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonraimondi committed Aug 7, 2024
1 parent 9714d70 commit bf5370c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/adapters/vanilla.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ export async function requestFromVanilla(req: Request): Promise<OAuthRequest> {
}

const headers: Record<string, unknown> = {};
Object.entries(req.headers).forEach(([key, value]) => {
req.headers.forEach((value, key) => {
if (key === "cookie") return;
headers[key] = value;
});

Expand Down

0 comments on commit bf5370c

Please sign in to comment.