diff --git a/helper.go b/helper.go index 56bdb8bcf28ac4456889d7b074ae0a091f8f5312..d70ddda080fa16d75601cdf70d9cf65c189ab9e0 100644 --- a/helper.go +++ b/helper.go @@ -4,7 +4,7 @@ import "context" func Do[T any](ctx context.Context, c Conn, method string, args any) (*T, error) { var t T - err := c.Do(ctx, &t, method, args) + err := c.Call(ctx, &t, method, args) if err != nil { return nil, err }