Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
cbaker6 committed Mar 12, 2024
1 parent bb98bd0 commit 0269793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/ParseSwift/Types/Query.swift
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ extension Query: Queryable {
results.append(contentsOf: currentResults)
if currentResults.count >= query.limit {
guard let lastObjectId = results[results.count - 1].objectId else {
throw ParseError(code: .otherCause, message: "Last object should have an id.")
throw ParseError(code: .otherCause, message: "Last object should have an objectId.")

Check warning on line 597 in Sources/ParseSwift/Types/Query.swift

View check run for this annotation

Codecov / codecov/patch

Sources/ParseSwift/Types/Query.swift#L597

Added line #L597 was not covered by tests
}
query.where = originalQueryWhere

Check warning on line 599 in Sources/ParseSwift/Types/Query.swift

View check run for this annotation

Codecov / codecov/patch

Sources/ParseSwift/Types/Query.swift#L599

Added line #L599 was not covered by tests
query.where.add("objectId" > lastObjectId)
Expand Down

0 comments on commit 0269793

Please sign in to comment.