Skip to content

Commit

Permalink
Revert "Clearing headers before setting with QueryParams for compabil…
Browse files Browse the repository at this point in the history
…ity with old behavior"

This reverts commit 31ed51f.
  • Loading branch information
Lucas Hinderberger committed Jul 10, 2024
1 parent 31ed51f commit 86953e9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/lib/api/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,6 @@ func (request Request) buildHttpRequest() (req *http.Request, err error) {
}

for key, val := range request.QueryParams {
q.Del(key)

err = addToQuery(key, val)
if err != nil {
return req, err
Expand Down

0 comments on commit 86953e9

Please sign in to comment.