From dde0b1e280967cf9c8a616b639487f689a9163f3 Mon Sep 17 00:00:00 2001 From: Mohamad Jaara Date: Fri, 6 Dec 2024 18:17:46 +0100 Subject: [PATCH] detekt --- .../kalium/network/api/authenticated/client/ClientRequest.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/network-model/src/commonMain/kotlin/com/wire/kalium/network/api/authenticated/client/ClientRequest.kt b/network-model/src/commonMain/kotlin/com/wire/kalium/network/api/authenticated/client/ClientRequest.kt index 037cb6b8d16..21f1c2b413e 100644 --- a/network-model/src/commonMain/kotlin/com/wire/kalium/network/api/authenticated/client/ClientRequest.kt +++ b/network-model/src/commonMain/kotlin/com/wire/kalium/network/api/authenticated/client/ClientRequest.kt @@ -108,6 +108,7 @@ object ClientCapabilityDTOSerializer : KSerializer { when (value) { is ClientCapabilityDTO.LegalHoldImplicitConsent -> encoder.encodeString("legalhold-implicit-consent") + is ClientCapabilityDTO.Unknown -> encoder.encodeString(value.name) }