From 89dd3292807b90b9df0a54d3ee22ffa0cbb8ad65 Mon Sep 17 00:00:00 2001 From: Willy Kloucek Date: Fri, 23 Sep 2022 15:44:33 +0200 Subject: [PATCH] fix notifications config --- services/notifications/pkg/command/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/notifications/pkg/command/server.go b/services/notifications/pkg/command/server.go index 5387cbbbe..892205355 100644 --- a/services/notifications/pkg/command/server.go +++ b/services/notifications/pkg/command/server.go @@ -55,7 +55,7 @@ func Server(cfg *config.Config) *cli.Command { logger.Fatal().Err(err).Str("addr", cfg.Notifications.RevaGateway).Msg("could not get reva client") } - svc := service.NewEventsNotifier(evts, channel, logger, gwclient, cfg.Commons.MachineAuthAPIKey, cfg.Notifications.EmailTemplatePath) + svc := service.NewEventsNotifier(evts, channel, logger, gwclient, cfg.Notifications.MachineAuthAPIKey, cfg.Notifications.EmailTemplatePath) return svc.Run() }, }