Skip to content

Commit cb9c7cf

Browse files
committed
fix: swifty nifty questionmarky
1 parent ff5a6d9 commit cb9c7cf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clients/algoliasearch-client-swift/Sources/Search/Extra/SearchClientExtension.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ public extension SearchClient {
469469
func saveObjects(
470470
indexName: String,
471471
objects: [some Encodable],
472-
waitForTasks: Bool? = false,
472+
waitForTasks: Bool = false,
473473
requestOptions: RequestOptions? = nil
474474
) async throws -> [BatchResponse] {
475475
try await self.chunkedBatch(
@@ -492,7 +492,7 @@ public extension SearchClient {
492492
func deleteObjects(
493493
indexName: String,
494494
objectIDs: [String],
495-
waitForTasks: Bool? = false,
495+
waitForTasks: Bool = false,
496496
requestOptions: RequestOptions? = nil
497497
) async throws -> [BatchResponse] {
498498
try await self.chunkedBatch(
@@ -518,7 +518,7 @@ public extension SearchClient {
518518
indexName: String,
519519
objects: [some Encodable],
520520
createIfNotExists: Bool = false,
521-
waitForTasks: Bool? = false,
521+
waitForTasks: Bool = false,
522522
requestOptions: RequestOptions? = nil
523523
) async throws -> [BatchResponse] {
524524
try await self.chunkedBatch(

0 commit comments

Comments
 (0)