Commit adf2c2b6 authored by Kamron Aroonrua's avatar Kamron Aroonrua 💬

bsspeak

parent 495883f8
......@@ -36,7 +36,7 @@ function perform_function(context,request,response){
'data' : data[idx]
}
var topic=Utils.vm_execute_text(ev,prm_topic);
client.publish(topic,data[idx],function(err){
client.publish(topic,JSON.stringify(data[idx]),function(err){
idx++;
callback(err);
});
......
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