diff --git a/service/files_service.go b/service/files_service.go index aab4eb2..473eb2e 100644 --- a/service/files_service.go +++ b/service/files_service.go @@ -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() {