Skip to content

Commit 710091b

Browse files
committed
fix(swift): update browse iterators
1 parent a67fdd3 commit 710091b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ public extension SearchClient {
298298
)
299299
},
300300
validate: validate ?? { response in
301-
response.nbHits < hitsPerPage
301+
response.hits.count < hitsPerPage
302302
},
303303
aggregator: aggregator
304304
)
@@ -341,7 +341,7 @@ public extension SearchClient {
341341
)
342342
},
343343
validate: validate ?? { response in
344-
response.nbHits < hitsPerPage
344+
response.hits.count < hitsPerPage
345345
},
346346
aggregator: aggregator
347347
)

0 commit comments

Comments
 (0)