fix: Trying to fix the serialization issue.

This commit is contained in:
aminecmi 2024-12-07 18:20:49 +01:00
parent 641c444061
commit 24b86e66b4

View File

@ -191,7 +191,7 @@ class SelfossModel {
} }
override val descriptor: SerialDescriptor override val descriptor: SerialDescriptor
get() = PrimitiveSerialDescriptor("b", PrimitiveKind.BOOLEAN) get() = PrimitiveSerialDescriptor("BooleanOrIntForSomeSelfossVersions", PrimitiveKind.BOOLEAN)
override fun serialize( override fun serialize(
encoder: Encoder, encoder: Encoder,