chatfuel-api
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -55,5 +55,9 @@ 'use strict'; | ||
return _axios2.default.post(chatfuelApiUrl); | ||
var headers = { | ||
'Content-Type': 'application/json' | ||
}; | ||
return _axios2.default.post(chatfuelApiUrl, { headers: headers }); | ||
}; | ||
exports.default = broadcast; |
{ | ||
"name": "chatfuel-api", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "A library to simplify sending messages and broadcasts to a Chatfuel bot over Facebook Messenger", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -82,5 +82,4 @@ import sinon from 'sinon'; | ||
broadcast(options); | ||
expect(stubAxiosPost.getCall(0).args[0]).to.equal(expectedURL); | ||
}); | ||
}); |
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
217460
2127