mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:13:24 +02:00
Implement account check (if it's already added).
This commit is contained in:
@@ -218,6 +218,13 @@ module.exports = function ControlServiceFactory(
|
||||
return sendTwoWay('screen.capture')
|
||||
}
|
||||
|
||||
this.checkAccount = function(type, account) {
|
||||
return sendTwoWay('account.check', {
|
||||
type: type
|
||||
, account: account
|
||||
})
|
||||
}
|
||||
|
||||
this.removeAccount = function(type, account) {
|
||||
return sendTwoWay('account.remove', {
|
||||
type: type
|
||||
|
||||
Reference in New Issue
Block a user