mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 08:33:24 +02:00
A bit of refactoring and new functionality for removeAccount method.
This commit is contained in:
@@ -218,8 +218,11 @@ module.exports = function ControlServiceFactory(
|
||||
return sendTwoWay('screen.capture')
|
||||
}
|
||||
|
||||
this.removeAccount = function() {
|
||||
return sendTwoWay('account.remove')
|
||||
this.removeAccount = function(type, account) {
|
||||
return sendTwoWay('account.remove', {
|
||||
type: type
|
||||
, account: account
|
||||
})
|
||||
}
|
||||
|
||||
this.addAccountMenu = function() {
|
||||
|
||||
Reference in New Issue
Block a user