fix: need to provide embedded ServiceParams struct

This commit is contained in:
Derrick Hammer 2024-02-27 02:52:27 -05:00
parent 23187704ee
commit af3cb367bb
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 5 additions and 3 deletions

View File

@ -202,9 +202,11 @@ func (s *StorageService) DownloadBytesByHash(hash *encoding.Multihash) ([]byte,
types.StorageLocationTypeFull, types.StorageLocationTypeFull,
types.StorageLocationTypeFile, types.StorageLocationTypeFile,
}, },
Logger: s.Logger(), ServiceParams: service.ServiceParams{
Config: s.Config(), Logger: s.Logger(),
Db: s.Db(), Config: s.Config(),
Db: s.Db(),
},
}) })
err := dlUriProvider.Start() err := dlUriProvider.Start()
if err != nil { if err != nil {