Skip to content

Commit

Permalink
Fix wiki page deserialization
Browse files Browse the repository at this point in the history
  • Loading branch information
HeroBrine1st committed Aug 23, 2024
1 parent 6ea2438 commit 2164dde
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/main/java/ru/herobrine1st/e621/api/model/WikiPage.kt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ package ru.herobrine1st.e621.api.model

import kotlinx.datetime.Instant
import kotlinx.serialization.Serializable
import kotlinx.serialization.json.JsonElement

@Serializable
data class WikiPage(
Expand All @@ -36,5 +37,6 @@ data class WikiPage(
val isLocked: Boolean,
val isDeleted: Boolean,
val otherNames: List<String>,
val parent: JsonElement? = null, // idk, couldn't find non-null value
val categoryId: Int,
)

0 comments on commit 2164dde

Please sign in to comment.