From 3a74e75a5774e6ec51f0046ac4dfdd9140b246d9 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 20 Jan 2024 12:05:41 -0500 Subject: [PATCH] fix: portal missing in constructor --- cron/cron.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cron/cron.go b/cron/cron.go index 3022f2a..c27a5e6 100644 --- a/cron/cron.go +++ b/cron/cron.go @@ -22,7 +22,9 @@ func (c *CronServiceImpl) Scheduler() gocron.Scheduler { } func NewCronServiceImpl(portal interfaces.Portal) interfaces.CronService { - return &CronServiceImpl{} + return &CronServiceImpl{ + portal: portal, + } } func (c *CronServiceImpl) Init() error {