Skip to content

Commit

Permalink
Fix detekt issues
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrohfp committed Jun 2, 2024
1 parent 2e631c2 commit f8c286a
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions core/network/src/commonMain/kotlin/di/networkModule.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
)
}
}
}
Expand All @@ -41,4 +43,4 @@ val networkModule = module {
.baseUrl(BASE_URL)
.build()
}
}
}

0 comments on commit f8c286a

Please sign in to comment.