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 {
456
456
457
457
if waitForTasks {
458
458
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
+ )
460
464
}
461
465
}
462
466
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ public extension SecuredApiKeyRestrictions {
23
23
queryDictionary [ " filters " ] = filters
24
24
}
25
25
if let validUntil {
26
- queryDictionary [ " validUntil " ] = Int ( validUntil)
26
+ queryDictionary [ " validUntil " ] = validUntil
27
27
}
28
28
if let restrictIndices {
29
29
queryDictionary [ " restrictIndices " ] = restrictIndices
You can’t perform that action at this time.
0 commit comments