node-red-contrib-ifttt
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -25,4 +25,5 @@ var request = require('request'); | ||
} | ||
var eventName = msg.payload.eventName ? msg.payload.eventName : node.config.eventName; | ||
request({ | ||
uri: 'https://maker.ifttt.com/trigger/' + node.config.eventName + '/with/key/' + node.key.credentials.key, | ||
uri: 'https://maker.ifttt.com/trigger/' + eventName + '/with/key/' + node.key.credentials.key, | ||
method: 'POST', | ||
@@ -29,0 +30,0 @@ json: iftttPayload |
{ | ||
"name": "node-red-contrib-ifttt", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "A node-red node to connect to ifttt Maker channel", | ||
@@ -37,3 +37,2 @@ "homepage": "http://github.com/diegopamio/node-red-ifttt", | ||
"gulp-mocha": "^2.0.0", | ||
"gulp-nsp": "^2.1.0", | ||
"gulp-plumber": "^1.0.0", | ||
@@ -40,0 +39,0 @@ "isparta": "^3.0.3", |
Sorry, the diff of this file is not supported yet
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
13335
24
47