From 446e81ca190c5204703b81990da6abf56955ca24 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Thu, 1 Feb 2024 18:12:09 -0500 Subject: [PATCH] fix: renter needs to be set on storage --- storage/storage.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/storage/storage.go b/storage/storage.go index 515c91d..e52229a 100644 --- a/storage/storage.go +++ b/storage/storage.go @@ -43,6 +43,7 @@ type StorageServiceParams struct { Db *gorm.DB Accounts *account.AccountServiceDefault Cron *cron.CronServiceDefault + Renter *renter.RenterDefault } var Module = fx.Module("storage", @@ -81,6 +82,7 @@ func NewStorageService(lc fx.Lifecycle, params StorageServiceParams) *StorageSer db: params.Db, accounts: params.Accounts, cron: params.Cron, + renter: params.Renter, } lc.Append(fx.Hook{