Skip to content

Commit 24d5c2d

Browse files
committed
fix: kotlin
1 parent df6aff0 commit 24d5c2d

File tree

1 file changed

+3
-3
lines changed
  • clients/algoliasearch-client-kotlin/client/src/commonMain/kotlin/com/algolia/client/extensions

1 file changed

+3
-3
lines changed

clients/algoliasearch-client-kotlin/client/src/commonMain/kotlin/com/algolia/client/extensions/SearchClient.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ public suspend fun SearchClient.chunkedBatch(
377377
public suspend fun SearchClient.saveObjects(
378378
indexName: String,
379379
objects: List<JsonObject>,
380-
waitForTask: Boolean? = false,
380+
waitForTask: Boolean = false,
381381
requestOptions: RequestOptions? = null,
382382
): List<BatchResponse> {
383383
return this.chunkedBatch(
@@ -403,7 +403,7 @@ public suspend fun SearchClient.saveObjects(
403403
public suspend fun SearchClient.deleteObjects(
404404
indexName: String,
405405
objectIDs: List<String>,
406-
waitForTask: Boolean? = false,
406+
waitForTask: Boolean = false,
407407
requestOptions: RequestOptions? = null,
408408
): List<BatchResponse> {
409409
return this.chunkedBatch(
@@ -431,7 +431,7 @@ public suspend fun SearchClient.partialUpdateObjects(
431431
indexName: String,
432432
objects: List<JsonObject>,
433433
createIfNotExists: Boolean,
434-
waitForTask: Boolean? = false,
434+
waitForTask: Boolean = false,
435435
requestOptions: RequestOptions? = null,
436436
): List<BatchResponse> {
437437
return this.chunkedBatch(

0 commit comments

Comments
 (0)