Skip to content

Commit

Permalink
clean user agent info
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrykPilch committed Jan 15, 2025
1 parent 4335ee3 commit 2fe3082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudconnexa/cloudconnexa.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func (c *Client) DoRequest(req *http.Request) ([]byte, error) {
}

req.Header.Set("Authorization", fmt.Sprintf("Bearer %s", c.Token))
req.Header.Set("User-Agent", fmt.Sprintf("Useragent %s", c.UserAgent))
req.Header.Set("User-Agent", c.UserAgent)

res, err := c.client.Do(req)
if err != nil {
Expand Down

0 comments on commit 2fe3082

Please sign in to comment.