Skip to content

Commit

Permalink
removed unicode characters
Browse files Browse the repository at this point in the history
  • Loading branch information
krcummings1 committed Apr 23, 2024
1 parent 2bf05e6 commit 3a2c7fb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ var formatPath = function (path, path_params) {


Mailchimp.prototype.post = function (options, body, done) {
options = _.clone(options) || {};
options = _.clone(options) || {};

if (_.isString(options)) {
options = {
Expand All @@ -83,7 +83,7 @@ Mailchimp.prototype.post = function (options, body, done) {
}

Mailchimp.prototype.patch = function (options, body, done) {
options = _.clone(options) || {};
options = _.clone(options) || {};

if (_.isString(options)) {
options = {
Expand Down Expand Up @@ -120,7 +120,7 @@ Mailchimp.prototype.request = function (options, done) {

var path = formatPath(options.path, options.path_params);
var method = options.method || 'get';
var body = options.body || {};
var body = options.body || {};
var params = options.params;
var query = options.query;

Expand All @@ -130,7 +130,7 @@ Mailchimp.prototype.request = function (options, done) {

// Mailchimp does not respect on the language set in requests bodies for confirmation emails on new subscribers (and maybe other)
// A workaround is to make sure the language header matches
var language = options.language || body.language || null;
var language = options.language || body.language || null;
if (language) {
headers['Accept-Language'] = language;
}
Expand Down

0 comments on commit 3a2c7fb

Please sign in to comment.