From eb83fd68878fdaeeaa72e764be8031f98bc37771 Mon Sep 17 00:00:00 2001 From: a <a@tuxpa.in> Date: Tue, 28 Feb 2023 05:32:53 -0600 Subject: [PATCH] fix helper --- helper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper.go b/helper.go index 56bdb8b..d70ddda 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 } -- GitLab