diff --git a/storage/storage.go b/storage/storage.go index f504c6b..e5643b0 100644 --- a/storage/storage.go +++ b/storage/storage.go @@ -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 }