fix: set bucket to protocol name

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

View File

@ -623,6 +623,7 @@ func (s *StorageServiceImpl) GetFile(hash []byte) (io.ReadCloser, uint64, error)
resp, err := s.httpApi.R().
SetPathParam("path", hashStr).
SetQueryParam("bucket", upload.Protocol).
DisableAutoReadResponse().
Get("/api/bus/object/{path}")