fix: wrong endpoint

This commit is contained in:
Derrick Hammer 2024-01-24 01:59:09 -05:00
parent efcd5b0b8a
commit 5d715fcac4
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -625,7 +625,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/bus/object/{path}") Get("/api/worker/object/{path}")
if err != nil { if err != nil {
return nil, 0, err return nil, 0, err