From 4ab0b61daaefa17f35ebe7555e59a29f34bc651a Mon Sep 17 00:00:00 2001 From: Denis Arh Date: Wed, 11 Mar 2020 11:55:49 +0100 Subject: [PATCH] Fix another service loading order issue --- system/service/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/service/service.go b/system/service/service.go index 424678823..76b235636 100644 --- a/system/service/service.go +++ b/system/service/service.go @@ -99,13 +99,13 @@ func Initialize(ctx context.Context, log *zap.Logger, c Config) (err error) { CurrentSettings, ) + DefaultAuthNotification = AuthNotification(ctx) DefaultAuth = Auth(ctx) DefaultUser = User(ctx) DefaultRole = Role(ctx) DefaultOrganisation = Organisation(ctx) DefaultApplication = Application(ctx) DefaultReminder = Reminder(ctx) - DefaultAuthNotification = AuthNotification(ctx) DefaultSink = Sink() DefaultStatistics = Statistics(ctx)