From f8c286a1633d9244eda49f749d2f6fbe9fbbb2a9 Mon Sep 17 00:00:00 2001 From: Pedro Henrique Date: Sun, 2 Jun 2024 01:09:36 -0300 Subject: [PATCH] Fix detekt issues --- .../src/commonMain/kotlin/di/networkModule.kt | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/core/network/src/commonMain/kotlin/di/networkModule.kt b/core/network/src/commonMain/kotlin/di/networkModule.kt index 7fab0a4..a7f64c8 100644 --- a/core/network/src/commonMain/kotlin/di/networkModule.kt +++ b/core/network/src/commonMain/kotlin/di/networkModule.kt @@ -21,14 +21,16 @@ val networkModule = module { } install(ContentNegotiation) { - json(Json { - explicitNulls = false - ignoreUnknownKeys = true - isLenient = true - prettyPrint = true - encodeDefaults = true - classDiscriminator = "#class" - }) + json( + Json { + explicitNulls = false + ignoreUnknownKeys = true + isLenient = true + prettyPrint = true + encodeDefaults = true + classDiscriminator = "#class" + } + ) } } } @@ -41,4 +43,4 @@ val networkModule = module { .baseUrl(BASE_URL) .build() } -} \ No newline at end of file +}