Fixed getting message log of all messages
This commit is contained in:
parent
b7c0fec629
commit
ba6eab79bb
|
@ -34,4 +34,12 @@ open class AddAccountResponse(
|
||||||
open val retrievedData: List<RetrievedAccountData>
|
open val retrievedData: List<RetrievedAccountData>
|
||||||
get() = retrievedTransactionsResponses.mapNotNull { it.retrievedData }
|
get() = retrievedTransactionsResponses.mapNotNull { it.retrievedData }
|
||||||
|
|
||||||
|
override val messageLog: List<MessageLogEntry>
|
||||||
|
get() = buildList {
|
||||||
|
addAll(super.messageLog)
|
||||||
|
retrievedTransactionsResponses.forEach {
|
||||||
|
addAll(it.messageLog)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue