From 4e788fdef1010943b519c5bbb05ae65a3ef4e5d2 Mon Sep 17 00:00:00 2001 From: Bruna Campos Date: Mon, 18 Mar 2024 18:29:06 -0300 Subject: [PATCH] refactor url used in Search (#45) --- pkg/preference/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/preference/client.go b/pkg/preference/client.go index eeb3778c..425df9cb 100644 --- a/pkg/preference/client.go +++ b/pkg/preference/client.go @@ -106,7 +106,7 @@ func (c *client) Search(ctx context.Context, request SearchRequest) (*SearchResp requestData := httpclient.RequestData{ QueryParams: queryParams, Method: http.MethodGet, - URL: urlBase, + URL: urlSearch, } result, err := httpclient.DoRequest[*SearchResponsePage](ctx, c.cfg, requestData) if err != nil {