Skip to content

Commit

Permalink
fix: added ignoreUnknownKeys for future releases
Browse files Browse the repository at this point in the history
  • Loading branch information
y9san9 committed Nov 1, 2023
1 parent 29cb47b commit 2d554a9
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,13 @@ import kotlinx.serialization.json.Json
public class KtorMeetacyEngine(
private val baseUrl: Url,
httpClient: HttpClient = HttpClient(),
private val json: Json = Json,
json: Json = Json,
) : MeetacyRequestsEngine {

private val json = Json(json) {
ignoreUnknownKeys = true
}

private val httpClient = httpClient.config {
expectSuccess = true
install(WebSockets)
Expand Down

0 comments on commit 2d554a9

Please sign in to comment.