Upload now has uninstall.

This commit is contained in:
Gunther Brunner
2014-04-03 23:28:32 +09:00
parent 9c27be2871
commit 760464388e
11 changed files with 110 additions and 9 deletions

View File

@@ -157,7 +157,7 @@ module.exports = function ControlServiceFactory(
this.uninstall = function(pkg) {
var tx = TransactionService.create(target)
socket.emit('device.uninstall', channel, tx.channel, {
package: pkg
packageName: pkg
})
return tx
}