Commit 6baac87f by Chavee Issariyapat

add action

parent 8c7a1e24
......@@ -44,6 +44,15 @@ module.exports = function(options={}) {
"value": p[0], // temp
"tags":{"attr":p[1]} // temp
}];
client.act('cmd:writefeed,feedid:serialno', {
message: JSON.stringify(data)
}, (err, res) => {
if (err) {
throw err;
}
});
break;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment