fix: wrong api endpoint (again)
This commit is contained in:
parent
e4626fdbb8
commit
61304ad3d2
|
@ -47,7 +47,7 @@ func (s StorageServiceImpl) PutFile(file io.ReadSeeker, bucket string, generateP
|
||||||
SetFormData(map[string]string{
|
SetFormData(map[string]string{
|
||||||
"bucket": bucket,
|
"bucket": bucket,
|
||||||
}).
|
}).
|
||||||
SetBody(buf).Put("/api/worker/object/{path}")
|
SetBody(buf).Put("/api/worker/objects/{path}")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue