diff --git a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/response/ResponseParser.kt b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/response/ResponseParser.kt index 8d05482d..7ef4868e 100644 --- a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/response/ResponseParser.kt +++ b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/response/ResponseParser.kt @@ -534,7 +534,7 @@ open class ResponseParser( // TODO: may also parse 'Letzte Benutzung' (second last element) and 'Freigeschaltet am' (last element) - val remainingDataElements = dataElements.subList(2, dataElements.size - 2) + val remainingDataElements = dataElements.subList(2, dataElements.size) return when (mediumClass) { TanMediumKlasse.TanGenerator -> parseTanGeneratorTanMedium(mediumClass, status, hitabVersion, remainingDataElements)