diff --git a/app/src/main/kotlin/dev/fobo66/factcheckerassistant/api/models/Claim.kt b/app/src/main/kotlin/dev/fobo66/factcheckerassistant/api/models/Claim.kt index 98d31cf7..98fa76be 100644 --- a/app/src/main/kotlin/dev/fobo66/factcheckerassistant/api/models/Claim.kt +++ b/app/src/main/kotlin/dev/fobo66/factcheckerassistant/api/models/Claim.kt @@ -12,7 +12,7 @@ import kotlinx.serialization.Serializable @Immutable @Parcelize data class Claim( - val text: String, + val text: String? = null, val claimant: String? = null, @TypeParceler() val claimDate: Instant? = null, val claimReview: List = emptyList() diff --git a/app/src/main/kotlin/dev/fobo66/factcheckerassistant/api/models/FactCheckResponse.kt b/app/src/main/kotlin/dev/fobo66/factcheckerassistant/api/models/FactCheckResponse.kt index 91e68c4d..18184286 100644 --- a/app/src/main/kotlin/dev/fobo66/factcheckerassistant/api/models/FactCheckResponse.kt +++ b/app/src/main/kotlin/dev/fobo66/factcheckerassistant/api/models/FactCheckResponse.kt @@ -3,4 +3,4 @@ package dev.fobo66.factcheckerassistant.api.models import kotlinx.serialization.Serializable @Serializable -data class FactCheckResponse(val claims: List?, val nextPageToken: String?) +data class FactCheckResponse(val claims: List? = null, val nextPageToken: String? = null)