Skip to content

Commit

Permalink
Merge pull request #16 from jellejurre/fix/add-user-agent-to-auth
Browse files Browse the repository at this point in the history
Don't replace user agent during authentication
  • Loading branch information
ariesclark authored Oct 14, 2024
2 parents b1bbad4 + 410d711 commit 73fb24e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/_utilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -529,9 +529,7 @@ export async function fetchOperation(
if (security.scheme !== "basic")
return failLog(t, `Security scheme \`\`${name}\`\` not supported`);

requestOptions.headers = {
authorization: `Basic ${value}`
};
requestOptions.headers["authorization"] = `Basic ${value}`
break;
}
case "apiKey": {
Expand Down

0 comments on commit 73fb24e

Please sign in to comment.