Skip to content

Commit

Permalink
Update api.go
Browse files Browse the repository at this point in the history
  • Loading branch information
devploit authored Dec 23, 2024
1 parent 039e91e commit 6085353
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmd/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@ func request(method, uri string, headers []header, proxy *url.URL, rateLimit boo
}

// Use raw URL parser instead
parsedURL := rawurlparser.RawURLParse(uri)
parsedURL, err := rawurlparser.RawURLParse(uri)
if err != nil {
log.Println(err)
}

// Create new request
req := &http.Request{
Expand Down

0 comments on commit 6085353

Please sign in to comment.