diff --git a/service/default/storage.go b/service/default/storage.go index f2a2579..d5b765b 100644 --- a/service/default/storage.go +++ b/service/default/storage.go @@ -202,9 +202,11 @@ func (s *StorageService) DownloadBytesByHash(hash *encoding.Multihash) ([]byte, types.StorageLocationTypeFull, types.StorageLocationTypeFile, }, - Logger: s.Logger(), - Config: s.Config(), - Db: s.Db(), + ServiceParams: service.ServiceParams{ + Logger: s.Logger(), + Config: s.Config(), + Db: s.Db(), + }, }) err := dlUriProvider.Start() if err != nil {