Skip to content

Commit

Permalink
fix: πŸ› treaty2's request method to always be uppercase
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmy-guzman committed Mar 21, 2024
1 parent b10c17b commit 213a7a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/treaty2/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ const createProxy = (
contentType = 'text/plain'

let fetchInit = {
method,
method: method?.toUpperCase(),
body,
...conf,
headers: {
Expand Down

0 comments on commit 213a7a4

Please sign in to comment.