debug discord login (13x)

- DiscordGuildLIstAPI fix
This commit is contained in:
dalbodeule
2024-08-11 17:00:24 +09:00
parent f407310348
commit c05521d23f
2 changed files with 2 additions and 1 deletions

View File

@@ -274,7 +274,7 @@ data class DiscordGuildListAPI(
val id: String, val id: String,
val name: String, val name: String,
val icon: String, val icon: String,
val banner: String, val banner: String?,
val owner: Boolean, val owner: Boolean,
val permissions: Int, val permissions: Int,
val features: List<String> val features: List<String>

View File

@@ -8,6 +8,7 @@ val applicationHttpClient = HttpClient(CIO) {
install(ContentNegotiation) { install(ContentNegotiation) {
json(json = Json { json(json = Json {
ignoreUnknownKeys = true ignoreUnknownKeys = true
coerceInputValues = true
}) })
} }
} }