diff --git a/src/treaty2/index.ts b/src/treaty2/index.ts index 34f18f8..cd37a5d 100644 --- a/src/treaty2/index.ts +++ b/src/treaty2/index.ts @@ -252,7 +252,7 @@ const createProxy = ( contentType = 'text/plain' let fetchInit = { - method, + method: method?.toUpperCase(), body, ...conf, headers: {