diff --git a/src/oauth.js b/src/oauth.js index 33fd3e2..1b5d92a 100644 --- a/src/oauth.js +++ b/src/oauth.js @@ -145,8 +145,6 @@ module.exports = function oauthClient(config, initState) { if (type == "json" && body != undefined) { headers["Content-Type"] = "application/json"; body = JSON.stringify(data); - } else if (body == undefined) { - body = ""; } return fetch(url.href, { method,