mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 03:53:28 +02:00
Without parameters get all the accounts of any type. Error returned fixed.
This commit is contained in:
@@ -490,10 +490,10 @@ module.exports = syrup.serial()
|
||||
})
|
||||
}
|
||||
|
||||
plugin.getAccounts = function(type) {
|
||||
plugin.getAccounts = function(data) {
|
||||
return runServiceCommand(
|
||||
apk.wire.MessageType.GET_ACCOUNTS
|
||||
, new apk.wire.GetAccountsRequest(type)
|
||||
, new apk.wire.GetAccountsRequest({type: data.type})
|
||||
)
|
||||
.timeout(15000)
|
||||
.then(function(data) {
|
||||
|
||||
Reference in New Issue
Block a user