Skip to content

Commit 2d5ad1f

Browse files
committed
Clean up code
1 parent 02e7ea6 commit 2d5ad1f

File tree

1 file changed

+1
-1
lines changed
  • src/main/kotlin/io/sdkman/plugins

1 file changed

+1
-1
lines changed

src/main/kotlin/io/sdkman/plugins/HTTP.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ fun Application.configureHTTP(apiCacheConfig: ApiCacheConfig) {
2121
}
2222
}
2323
install(CachingHeaders) {
24-
options { call, content ->
24+
options { _, content ->
2525
when (content.contentType?.withoutParameters()) {
2626
ContentType.Application.Json -> CachingOptions(
2727
cacheControl = CacheControl.MaxAge(maxAgeSeconds = apiCacheConfig.maxAgeSeconds),

0 commit comments

Comments
 (0)