node-red-contrib-gitlab2
Advanced tools
Comparing version
@@ -28,7 +28,8 @@ const gitlab = require('node-gitlab'); | ||
node.error(error, msg); | ||
node.send([null, msg]); | ||
} else { | ||
msg.payload = body; | ||
node.log(RED._('Succeeded to API Call.')); | ||
node.send([msg, null]); | ||
} | ||
node.send(msg); | ||
} | ||
@@ -35,0 +36,0 @@ ); |
@@ -21,7 +21,8 @@ const gitlab = require('node-gitlab'); | ||
node.error(error, msg); | ||
node.send([null, msg]); | ||
} else { | ||
msg.payload = body; | ||
node.log(RED._('Succeeded to API Call.')); | ||
node.send([msg, null]); | ||
} | ||
node.send(msg); | ||
} | ||
@@ -28,0 +29,0 @@ ); |
@@ -28,7 +28,8 @@ const gitlab = require('node-gitlab'); | ||
node.error(error, msg); | ||
node.send([null, msg]); | ||
} else { | ||
msg.payload = body; | ||
node.log(RED._('Succeeded to API Call.')); | ||
node.send([msg, null]); | ||
} | ||
node.send(msg); | ||
} | ||
@@ -35,0 +36,0 @@ ); |
{ | ||
"name": "node-red-contrib-gitlab2", | ||
"version": "1.0.0-alpha-11", | ||
"version": "1.0.0-alpha-12", | ||
"description": "Node-RED node using GitLab APIs", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
22744
0.52%170
1.8%