Stringify options before sending

This commit is contained in:
Fabien O'Carroll 2014-04-03 15:41:49 +01:00
parent da39f3dab7
commit 37b01a9deb

View File

@ -7,9 +7,9 @@ var socket = zmq.socket('push');
module.exports = function (options) {
socket.bindSync(options.dropbox.port);
socket.send({
socket.send(JSON.stringify({
options: options.dropbox
});
}));
return {
initialize: function () {
active = true;