From 48028efe64a223636deb17bbe369cad96ff7b790 Mon Sep 17 00:00:00 2001 From: HeroBrine1st Erquilenne Date: Sat, 13 Jan 2024 22:57:12 +0300 Subject: [PATCH] Fix wiki page fetching --- .../main/java/ru/herobrine1st/e621/api/model/WikiPage.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/ru/herobrine1st/e621/api/model/WikiPage.kt b/app/src/main/java/ru/herobrine1st/e621/api/model/WikiPage.kt index 8bf72cf2..58ce5429 100644 --- a/app/src/main/java/ru/herobrine1st/e621/api/model/WikiPage.kt +++ b/app/src/main/java/ru/herobrine1st/e621/api/model/WikiPage.kt @@ -27,14 +27,14 @@ import kotlinx.serialization.Serializable data class WikiPage( val id: Int, val createdAt: Instant, - val updatedAt: Instant?, + val updatedAt: Instant? = null, val title: String, val body: String, val creatorId: Int, val creatorName: String? = null, - val updaterId: Int, + val updaterId: Int = -1, val isLocked: Boolean, val isDeleted: Boolean, val otherNames: List, - val categoryId: Int + val categoryId: Int, ) \ No newline at end of file