diff --git a/lib/senders/platform.js b/lib/senders/platform.js index 265f4c1..899aaa3 100644 --- a/lib/senders/platform.js +++ b/lib/senders/platform.js @@ -58,7 +58,7 @@ PlatformSender.prototype.connect = function(options, callback) { self.connection.connect(); self.heartbeat.start(); - callback(); + callback( self ); }); }; @@ -117,4 +117,4 @@ PlatformSender.prototype.getVolume = function(callback) { this.receiver.getVolume(callback); }; -module.exports = PlatformSender; \ No newline at end of file +module.exports = PlatformSender;