mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 08:20:32 +05:30
Initialize nextpage as null.
This commit is contained in:
parent
b4213d9449
commit
e7bf856d82
@ -6,5 +6,5 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties
|
|||||||
data class CommentsPage(
|
data class CommentsPage(
|
||||||
val comments: MutableList<Comment> = arrayListOf(),
|
val comments: MutableList<Comment> = arrayListOf(),
|
||||||
val disabled: Boolean? = null,
|
val disabled: Boolean? = null,
|
||||||
val nextpage: String? = ""
|
val nextpage: String? = null
|
||||||
)
|
)
|
||||||
|
@ -5,7 +5,7 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties
|
|||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||||
data class SearchResult(
|
data class SearchResult(
|
||||||
val items: MutableList<ContentItem>? = arrayListOf(),
|
val items: MutableList<ContentItem>? = arrayListOf(),
|
||||||
val nextpage: String? = "",
|
val nextpage: String? = null,
|
||||||
val suggestion: String? = "",
|
val suggestion: String? = "",
|
||||||
val corrected: Boolean? = null
|
val corrected: Boolean? = null
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user