Skip to content

Commit a04cb95

Browse files
fix: Fixes client op method name
1 parent 0371f3c commit a04cb95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/HaystackClient/Client.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ public class Client {
224224
/// - filter: A string filter
225225
/// - limit: The maximum number of entities to return in response
226226
/// - Returns: A grid with a row for each entity read
227-
public func readAll(filter: String, limit: Number? = nil) async throws -> Grid {
227+
public func read(filter: String, limit: Number? = nil) async throws -> Grid {
228228
var args: [String: any Val] = ["filter": filter]
229229
if let limit = limit {
230230
args["limit"] = limit

0 commit comments

Comments
 (0)