From bed6317d71142b828f7b32b18f2b39722d1822db Mon Sep 17 00:00:00 2001 From: Denis Arh Date: Tue, 3 Mar 2020 18:32:54 +0100 Subject: [PATCH] Swap service startup order --- 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 f871895e9..424678823 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, ) + DefaultAuth = Auth(ctx) DefaultUser = User(ctx) DefaultRole = Role(ctx) DefaultOrganisation = Organisation(ctx) DefaultApplication = Application(ctx) DefaultReminder = Reminder(ctx) DefaultAuthNotification = AuthNotification(ctx) - DefaultAuth = Auth(ctx) DefaultSink = Sink() DefaultStatistics = Statistics(ctx)