Skip to content

Commit 3a2c7fb

Browse files
committed
removed unicode characters
1 parent 2bf05e6 commit 3a2c7fb

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ var formatPath = function (path, path_params) {
5757

5858

5959
Mailchimp.prototype.post = function (options, body, done) {
60-
options = _.clone(options) || {};
60+
options = _.clone(options) || {};
6161

6262
if (_.isString(options)) {
6363
options = {
@@ -83,7 +83,7 @@ Mailchimp.prototype.post = function (options, body, done) {
8383
}
8484

8585
Mailchimp.prototype.patch = function (options, body, done) {
86-
options = _.clone(options) || {};
86+
options = _.clone(options) || {};
8787

8888
if (_.isString(options)) {
8989
options = {
@@ -120,7 +120,7 @@ Mailchimp.prototype.request = function (options, done) {
120120

121121
var path = formatPath(options.path, options.path_params);
122122
var method = options.method || 'get';
123-
var body = options.body || {};
123+
var body = options.body || {};
124124
var params = options.params;
125125
var query = options.query;
126126

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

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

0 commit comments

Comments
 (0)