These need spaces?

This commit is contained in:
Dane Everitt 2020-12-25 15:14:21 -08:00
parent 8fa4c50379
commit 3842f054a5
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53
2 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@ func (dl *Download) Execute() error {
req, _ := http.NewRequestWithContext(ctx, http.MethodGet, dl.req.URL.String(), nil)
req.Header.Set("User-Agent", "Pterodactyl Panel (https://pterodactyl.io)")
res, err := client.Do(req) // lgtm[go/request-forgery]
res, err := client.Do(req) // lgtm [go/request-forgery]
if err != nil {
return errors.New("downloader: failed opening request to download file")
}

View File

@ -213,7 +213,7 @@ func (str serverTransferRequest) downloadArchive() (*http.Response, error) {
return nil, err
}
req.Header.Set("Authorization", str.Token)
res, err := client.Do(req) // lgtm[go/request-forgery]
res, err := client.Do(req) // lgtm [go/request-forgery]
if err != nil {
return nil, err
}