Initialize nextpage as null.

This commit is contained in:
Kavin 2022-11-16 21:55:58 +00:00
parent b4213d9449
commit e7bf856d82
No known key found for this signature in database
GPG Key ID: 49451E4482CC5BCD
2 changed files with 2 additions and 2 deletions

View File

@ -6,5 +6,5 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties
data class CommentsPage(
val comments: MutableList<Comment> = arrayListOf(),
val disabled: Boolean? = null,
val nextpage: String? = ""
val nextpage: String? = null
)

View File

@ -5,7 +5,7 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties
@JsonIgnoreProperties(ignoreUnknown = true)
data class SearchResult(
val items: MutableList<ContentItem>? = arrayListOf(),
val nextpage: String? = "",
val nextpage: String? = null,
val suggestion: String? = "",
val corrected: Boolean? = null
)