Skip to content

Commit 29463f6

Browse files
committed
chore: fix compiler warnings
1 parent 531f072 commit 29463f6

File tree

1 file changed

+1
-1
lines changed
  • client/src/commonMain/kotlin/com/algolia/search/transport/internal

1 file changed

+1
-1
lines changed

client/src/commonMain/kotlin/com/algolia/search/transport/internal/Transport.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ internal class Transport(
132132
}
133133

134134
private fun HttpRequestBuilder.requestBody(payload: String) {
135-
val body = when (compression) {
135+
val body: Any = when (compression) {
136136
Compression.Gzip -> payload.let(Gzip::invoke)
137137
Compression.None -> payload
138138
}

0 commit comments

Comments
 (0)