File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
app/src/commonMain/kotlin/it/vercruysse/lemmyapi/v0/x19/x11 Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1906,7 +1906,7 @@ internal class Transformer : MapperGenerator {
19061906 nsfw = d.nsfw,
19071907 posting_restricted_to_mods = d.posting_restricted_to_mods,
19081908 discussion_languages = d.discussion_languages,
1909- visibility = d.visibility?.name ,
1909+ visibility = d.visibility,
19101910 )
19111911
19121912 override fun fromUni (d : LemmyapiDatatypesEditCustomEmoji ): X11DatatypesEditCustomEmoji =
Original file line number Diff line number Diff line change 11package it.vercruysse.lemmyapi.v0.x19.x11.datatypes
22
3+ import it.vercruysse.lemmyapi.dto.CommunityVisibility
34import kotlinx.serialization.Serializable
45
56@Serializable
@@ -12,5 +13,5 @@ internal data class EditCommunity(
1213 val nsfw : Boolean? = null ,
1314 val posting_restricted_to_mods : Boolean? = null ,
1415 val discussion_languages : List <LanguageId >? = null ,
15- val visibility : String ? /* "Public" | "LocalOnly" */ = null ,
16+ val visibility : CommunityVisibility ? /* "Public" | "LocalOnly" */ = null ,
1617)
You can’t perform that action at this time.
0 commit comments