diff --git a/core/network/src/main/kotlin/app/pachli/core/network/model/StatusParams.kt b/core/network/src/main/kotlin/app/pachli/core/network/model/StatusParams.kt index 9c420ad98..25d129817 100644 --- a/core/network/src/main/kotlin/app/pachli/core/network/model/StatusParams.kt +++ b/core/network/src/main/kotlin/app/pachli/core/network/model/StatusParams.kt @@ -23,9 +23,9 @@ import com.squareup.moshi.JsonClass @JsonClass(generateAdapter = true) data class StatusParams( val text: String, - val sensitive: Boolean, + val sensitive: Boolean?, val visibility: Status.Visibility, - @Json(name = "spoiler_text") val spoilerText: String, + @Json(name = "spoiler_text") val spoilerText: String?, @Json(name = "in_reply_to_id") val inReplyToId: String?, val poll: NewPoll?, val language: String? = null,