mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 00:53:27 +02:00
Fix bug in Add Count.
This commit is contained in:
@@ -15,7 +15,7 @@ module.exports = syrup.serial()
|
||||
var log = logger.createLogger('device:plugins:account')
|
||||
|
||||
function checkAccount(type, account) {
|
||||
return service.getAccounts(type)
|
||||
return service.getAccounts({type: type})
|
||||
.timeout(30000)
|
||||
.then(function(accounts) {
|
||||
if(accounts.indexOf(account) >= 0) {
|
||||
|
||||
Reference in New Issue
Block a user