add NOTIFICATIONS_WEB_UI_URL

This commit is contained in:
Willy Kloucek
2022-11-07 15:46:29 +01:00
parent 9193e6f523
commit 4db9d060b7
4 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -91,7 +91,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.Notifications.MachineAuthAPIKey, cfg.Notifications.EmailTemplatePath, cfg.Commons.OcisURL)
svc := service.NewEventsNotifier(evts, channel, logger, gwclient, cfg.Notifications.MachineAuthAPIKey, cfg.Notifications.EmailTemplatePath, cfg.WebUiURL)
return svc.Run()
},
}