From 76bbe879c6d944f5524539a8167dead9adb53841 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Denquin?= Date: Tue, 13 Feb 2024 10:14:47 +0100 Subject: [PATCH] fix(client): Allow queryparams on client delete (#161) --- 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}