File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -456,7 +456,11 @@ public extension SearchClient {
456456
457457 if waitForTasks {
458458 for batchResponse in responses {
459- try await self . waitForTask ( indexName: indexName, taskID: batchResponse. taskID)
459+ try await self . waitForTask (
460+ indexName: indexName,
461+ taskID: batchResponse. taskID,
462+ requestOptions: requestOptions
463+ )
460464 }
461465 }
462466
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ public extension SecuredApiKeyRestrictions {
2323 queryDictionary [ " filters " ] = filters
2424 }
2525 if let validUntil {
26- queryDictionary [ " validUntil " ] = Int ( validUntil)
26+ queryDictionary [ " validUntil " ] = validUntil
2727 }
2828 if let restrictIndices {
2929 queryDictionary [ " restrictIndices " ] = restrictIndices
You can’t perform that action at this time.
0 commit comments