fix: portal missing in constructor
This commit is contained in:
parent
521b37b642
commit
3a74e75a57
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue