Fixed passing password

This commit is contained in:
dankito 2024-08-20 00:19:20 +02:00
parent 84b2df03b6
commit f64d3b103d
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ open class GetAccountDataRequest(bankCode: String, loginName: String, password:
: AccountCredentials(bankCode, loginName, password) {
constructor(credentials: AccountCredentials, options: GetAccountDataOptions? = null)
: this(credentials.bankCode, credentials.loginName, credentials.loginName, options)
: this(credentials.bankCode, credentials.loginName, credentials.password, options)
override fun toString() = "${super.toString()}: $options"
}