Skip to content

Commit

Permalink
fixing bad code
Browse files Browse the repository at this point in the history
  • Loading branch information
klieber committed Feb 20, 2015
1 parent 1cf1d8e commit 6227d69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/devices/roku.js
Expand Up @@ -83,9 +83,9 @@ RokuApp.prototype.start = function(qs, cb) {
if (cb) cb(new Error('App not installed'));
return;
}
var request = superagent.post(this.url('/launch/'+app.id));
var request = superagent.post(that.device.url('/launch/'+app.id));
request.buffer();
if (qs) req.query(qs);
if (qs) request.query(qs);
request.end(function(err, res){
if (cb) cb(err);
});
Expand Down

0 comments on commit 6227d69

Please sign in to comment.