fix: set bucket to protocol name
This commit is contained in:
parent
1948b9e332
commit
efcd5b0b8a
|
@ -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}")
|
||||
|
||||
|
|
Loading…
Reference in New Issue