MailChimp API doesn't let us segment by custom properties like chinaVersion.

This commit is contained in:
Nick Winter 2015-03-24 18:22:59 -07:00
parent 5bc58ce996
commit a39a4d4c1c

View file

@ -136,7 +136,6 @@ UserSchema.statics.updateServiceSettings = (doc, callback) ->
groupings: [{id: mail.MAILCHIMP_GROUP_ID, groups: newGroups}]
'new-email': doc.get('email')
}
#params.merge_vars.chinaVersion = true if doc.get('chinaVersion') # ???
params.update_existing = true
onSuccess = (data) ->