We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67aaca2 commit f908a0aCopy full SHA for f908a0a
Sources/Search/Extra/SearchClientExtension.swift
@@ -456,7 +456,11 @@ public extension SearchClient {
456
457
if waitForTasks {
458
for batchResponse in responses {
459
- try await self.waitForTask(indexName: indexName, taskID: batchResponse.taskID)
+ try await self.waitForTask(
460
+ indexName: indexName,
461
+ taskID: batchResponse.taskID,
462
+ requestOptions: requestOptions
463
+ )
464
}
465
466
Sources/Search/Extra/SecuredApiKeyRestrictionExtension.swift
@@ -23,7 +23,7 @@ public extension SecuredApiKeyRestrictions {
23
queryDictionary["filters"] = filters
24
25
if let validUntil {
26
- queryDictionary["validUntil"] = Int(validUntil)
+ queryDictionary["validUntil"] = validUntil
27
28
if let restrictIndices {
29
queryDictionary["restrictIndices"] = restrictIndices
0 commit comments