Forgot init on subscribe
This commit is contained in:
3
main.go
3
main.go
@@ -54,6 +54,7 @@ func main() {
|
|||||||
AllowCredentials: true,
|
AllowCredentials: true,
|
||||||
}))
|
}))
|
||||||
InitDTH()
|
InitDTH()
|
||||||
|
infrastructure.Singleton.InitSubscribeEvents(context.Background())
|
||||||
beego.Run()
|
beego.Run()
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -105,3 +106,5 @@ func InitDTH() error {
|
|||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO VERIFY IF LOOP OF GET VALUE is ENOUGH TO REFRESH
|
||||||
|
|||||||
Reference in New Issue
Block a user