fix: wrong api endpoint (again)

This commit is contained in:
Derrick Hammer 2024-01-15 14:08:41 -05:00
parent e4626fdbb8
commit 61304ad3d2
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/object/{path}")
SetBody(buf).Put("/api/worker/objects/{path}")
if err != nil {
return nil, err
}