Skip to content

Commit

Permalink
chore: removing commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tiwarishubham635 committed Jun 18, 2024
1 parent 0779b4c commit eef932f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/base/BaseTwilio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,11 +170,11 @@ namespace Twilio {
});
headers["Accept-Charset"] = "utf-8";

if (
opts.method !== "get" && !headers["Content-Type"]
) {
headers["Content-Type"] = "application/x-www-form-urlencoded";
}
// if (
// opts.method !== "get" && !headers["Content-Type"]
// ) {
// headers["Content-Type"] = "application/x-www-form-urlencoded";
// }

if (!headers["Accept"]) {
headers["Accept"] = "application/json";
Expand Down

0 comments on commit eef932f

Please sign in to comment.