fix: wrong api endpoint

This commit is contained in:
Derrick Hammer 2024-01-15 14:06:16 -05:00
parent d6d15cff73
commit e4626fdbb8
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ func (s StorageServiceImpl) PutFile(file io.ReadSeeker, bucket string, generateP
SetFormData(map[string]string{
"bucket": bucket,
}).
SetBody(buf).Put("/api/worker/{path}")
SetBody(buf).Put("/api/worker/object/{path}")
if err != nil {
return nil, err
}