fix: disable client warnings
This commit is contained in:
parent
7aea462ab7
commit
9b8cb38496
|
@ -30,6 +30,7 @@ func InitFiles() {
|
|||
client = resty.New()
|
||||
client.SetBaseURL(renterd.GetApiAddr() + "/api")
|
||||
client.SetBasicAuth("", renterd.GetAPIPassword())
|
||||
client.SetDisableWarn(true)
|
||||
}
|
||||
|
||||
func (f *FilesService) PostUpload() {
|
||||
|
|
Loading…
Reference in New Issue