feat(backend-db/heuristics): fixed errors in main files

This commit is contained in:
Alexander Zavorotynskiy 2022-05-12 09:59:09 +02:00
parent 88bec7ab60
commit ae6af1449c
2 changed files with 3 additions and 3 deletions

View file

@ -31,9 +31,9 @@ func main() {
defer pg.Close()
// HandlersFabric returns the list of message handlers we want to be applied to each incoming message.
handlersFabric := func() {
handlersFabric := func() []handlers.MessageProcessor {
return []handlers.MessageProcessor{
custom.EventMapper{},
&custom.EventMapper{},
custom.NewInputEventBuilder(),
custom.NewPageEventBuilder(),
}

View file

@ -26,7 +26,7 @@ func main() {
cfg := ender.New()
// HandlersFabric returns the list of message handlers we want to be applied to each incoming message.
handlersFabric := func() {
handlersFabric := func() []handlers.MessageProcessor {
return []handlers.MessageProcessor{
// web handlers
&web.ClickRageDetector{},