testing/merge fixes

This commit is contained in:
redanthrax 2022-06-24 11:23:07 -07:00
parent 29e304fa4e
commit 0d2e1a76a2
4 changed files with 20 additions and 6 deletions

View file

@ -77,10 +77,6 @@ func WebRequest(requestType string, timeout time.Duration, payload map[string]st
client := resty.New()
client.SetTimeout(timeout * time.Second)
client.SetCloseConnection(true)
if shared.DEBUG {
client.SetDebug(true)
}
result, err := client.R().Get(url)
return *result, err
}