fix: disable client warnings

This commit is contained in:
Derrick Hammer 2023-05-06 03:56:38 -04:00
parent 7aea462ab7
commit 9b8cb38496
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 0 deletions

View File

@ -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() {