fix: wrong endpoint

This commit is contained in:
Derrick Hammer 2024-01-24 02:03:14 -05:00
parent 27cbe2d886
commit 87fb81bf97
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -628,7 +628,7 @@ func (s *StorageServiceImpl) GetFile(hash []byte) (io.ReadCloser, uint64, error)
SetPathParam("path", hashStr).
SetQueryParam("bucket", upload.Protocol).
DisableAutoReadResponse().
Get("/api/worker/object/{path}")
Get("/api/worker/objects/{path}")
if err != nil {
return nil, 0, err