Added comment that retrieving TAN media (= TAN generator) list is only supported for accounts with chipTAN TAN procedures

This commit is contained in:
dankito 2020-05-13 23:31:42 +02:00
parent f2a12a0717
commit a56240a300
1 changed files with 1 additions and 0 deletions

View File

@ -369,6 +369,7 @@ open class FinTsClient @JvmOverloads constructor(
messageBuilder.createGetTanMediaListMessage(dialogContext, tanMediaKind, tanMediumClass)
}
// TAN media list (= TAN generator list) is only returned for users with chipTAN TAN procedures
val tanMediaList = if (response.successful == false ) null
else response.getFirstSegmentById<TanMediaList>(InstituteSegmentId.TanMediaList)