Fixed that if alsoRetrieveBalance is set to false or account doesn't support retrieving balance execution stops here forever and never returns
This commit is contained in:
parent
dee6f4aebe
commit
c7d6718cce
|
@ -423,6 +423,10 @@ open class FinTsClient(
|
||||||
callback(response)
|
callback(response)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
callback(BankResponse(false, errorMessage = "Either not requested to get balance or account does not support retrieving balance. " +
|
||||||
|
"Should retrieve balance = ${parameter.alsoRetrieveBalance}, account supports retrieving balance = ${parameter.account.supportsRetrievingBalance}."))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue