From 1ea1c04e5d9c67c289a32ad0ac8d2e31e8de2b79 Mon Sep 17 00:00:00 2001 From: Jeremy Denquin Date: Mon, 12 Feb 2024 16:18:14 +0100 Subject: [PATCH] fix(client): Allow queryparams on client delete --- lago.go | 1 + 1 file changed, 1 insertion(+) diff --git a/lago.go b/lago.go index 807d28f..a2357b5 100644 --- a/lago.go +++ b/lago.go @@ -217,6 +217,7 @@ func (c *Client) Delete(ctx context.Context, cr *ClientRequest) (interface{}, *E SetError(&Error{}). SetResult(cr.Result). SetBody(cr.Body). + SetQueryParams(cr.QueryParams). Delete(cr.Path) if err != nil { return nil, &Error{Err: err}