drip-nodejs
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -21,3 +21,3 @@ const helpers = require('./helpers'); | ||
tagSubscriber(payload, callback) { | ||
return this.post(`${this.accountId}/tags`, { payload: [payload] }, callback); | ||
return this.post(`${this.accountId}/tags`, { payload }, callback); | ||
}, | ||
@@ -24,0 +24,0 @@ /** |
@@ -1,1 +0,1 @@ | ||
module.exports = '2.0.0'; | ||
module.exports = '2.0.1'; |
{ | ||
"name": "drip-nodejs", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "A complete NodeJS wrapper for connecting to the Drip v2 REST API", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -95,3 +95,3 @@ const sinon = require('sinon'); | ||
expect(client.post).toHaveBeenCalledWith('9999999/tags', { payload: [{ email, tag: 'Customer' }] }, undefined); | ||
expect(client.post).toHaveBeenCalledWith('9999999/tags', { payload: { email, tag: 'Customer' } }, undefined); | ||
}); | ||
@@ -98,0 +98,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
100038