Minor cleanup

This commit is contained in:
Syer10
2022-05-07 11:40:00 -04:00
parent bcf51dc9bc
commit 5a42c6b80d
2 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,6 @@
package ca.gosyer.jui.data.base
import ca.gosyer.jui.core.lang.throwIfCancellation
import ca.gosyer.jui.data.build.BuildKonfig
import ca.gosyer.jui.data.server.Http
import ca.gosyer.jui.data.server.ServerPreferences
import io.ktor.client.plugins.websocket.ws
@@ -33,7 +32,7 @@ abstract class WebsocketService(
protected val client: Http
) {
protected val json = Json {
ignoreUnknownKeys = !BuildKonfig.DEBUG
ignoreUnknownKeys = true
}
protected abstract val _status: MutableStateFlow<Status>