Updated tanExpirationTime's new data type

This commit is contained in:
dankito 2024-09-09 03:40:49 +02:00
parent 1f8fecca7c
commit 73b760ae68
1 changed files with 1 additions and 2 deletions

View File

@ -2,7 +2,6 @@ package net.codinux.banking.client.model.tan
import kotlinx.datetime.Clock import kotlinx.datetime.Clock
import kotlinx.datetime.Instant import kotlinx.datetime.Instant
import kotlinx.datetime.LocalDateTime
import net.codinux.banking.client.model.BankAccountViewInfo import net.codinux.banking.client.model.BankAccountViewInfo
import net.codinux.banking.client.model.User import net.codinux.banking.client.model.User
import net.codinux.banking.client.model.BankViewInfo import net.codinux.banking.client.model.BankViewInfo
@ -51,7 +50,7 @@ open class TanChallenge(
* *
* In server's time zone, that is Europe/Berlin. * In server's time zone, that is Europe/Berlin.
*/ */
val tanExpirationTime: LocalDateTime? = null, val tanExpirationTime: Instant? = null,
val challengeCreationTimestamp: Instant = Clock.System.now() val challengeCreationTimestamp: Instant = Clock.System.now()
) { ) {