From af3cb367bbdd01a278d3c70a5dfdc158e480f178 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 27 Feb 2024 02:52:27 -0500 Subject: [PATCH] fix: need to provide embedded ServiceParams struct --- service/default/storage.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 {