fix: wrong endpoint
This commit is contained in:
parent
27cbe2d886
commit
87fb81bf97
|
@ -628,7 +628,7 @@ func (s *StorageServiceImpl) GetFile(hash []byte) (io.ReadCloser, uint64, error)
|
||||||
SetPathParam("path", hashStr).
|
SetPathParam("path", hashStr).
|
||||||
SetQueryParam("bucket", upload.Protocol).
|
SetQueryParam("bucket", upload.Protocol).
|
||||||
DisableAutoReadResponse().
|
DisableAutoReadResponse().
|
||||||
Get("/api/worker/object/{path}")
|
Get("/api/worker/objects/{path}")
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, 0, err
|
return nil, 0, err
|
||||||
|
|
Loading…
Reference in New Issue