fix: add initCron to init list

This commit is contained in:
Derrick Hammer 2024-01-19 17:44:08 -05:00
parent 60c7cc5c6c
commit c397cc9fcb
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 5 additions and 0 deletions

View File

@ -118,6 +118,10 @@ func initializeAPIRegistry(p interfaces.Portal) error {
return nil
}
func initCron(p interfaces.Portal) error {
return p.CronService().Init()
}
func getInitList() []initFunc {
return []initFunc{
initConfig,
@ -131,5 +135,6 @@ func getInitList() []initFunc {
initAPI,
initializeProtocolRegistry,
initializeAPIRegistry,
initCron,
}
}