Skip to content

Commit

Permalink
Applying gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
mschaeuble committed Jan 24, 2025
1 parent c826b55 commit 34f09ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion carwings.go
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ func apiRequest(endpoint string, params url.Values, target response) error {

// A user agent is required. Using an unobtrusive value to not attract attention.
req.Header.Set("User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36")
req.Header.Set("Content-Type", "application/x-www-form-urlencoded")
req.Header.Set("Content-Type", "application/x-www-form-urlencoded")

if Debug {
body, err := httputil.DumpRequestOut(req, true)
Expand Down

0 comments on commit 34f09ac

Please sign in to comment.