fix: portal missing in constructor

This commit is contained in:
Derrick Hammer 2024-01-20 12:05:41 -05:00
parent 521b37b642
commit 3a74e75a57
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 3 additions and 1 deletions

View File

@ -22,7 +22,9 @@ func (c *CronServiceImpl) Scheduler() gocron.Scheduler {
} }
func NewCronServiceImpl(portal interfaces.Portal) interfaces.CronService { func NewCronServiceImpl(portal interfaces.Portal) interfaces.CronService {
return &CronServiceImpl{} return &CronServiceImpl{
portal: portal,
}
} }
func (c *CronServiceImpl) Init() error { func (c *CronServiceImpl) Init() error {