Skip to content

Commit

Permalink
Fix PostResponse deserialization
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalyster committed Aug 7, 2024
1 parent 3bd66b9 commit d515a31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/juick/api/model/PostResponse.kt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import kotlinx.serialization.Serializable

@Serializable
data class PostResponse (
val newMessage: Post?,
val newMessage: Post? = null,
val text: String,
val markdown: String?
val markdown: String? = null
)

0 comments on commit d515a31

Please sign in to comment.