3
0

Hookup system and reminder services

This commit is contained in:
Tomaž Jerman 2019-09-24 12:11:38 +02:00
parent b5b1630371
commit bb60eb4f75

View File

@ -72,6 +72,7 @@ var (
DefaultRole RoleService
DefaultOrganisation OrganisationService
DefaultApplication ApplicationService
DefaultReminder ReminderService
)
func Init(ctx context.Context, log *zap.Logger, c Config) (err error) {
@ -92,6 +93,7 @@ func Init(ctx context.Context, log *zap.Logger, c Config) (err error) {
DefaultRole = Role(ctx)
DefaultOrganisation = Organisation(ctx)
DefaultApplication = Application(ctx)
DefaultReminder = Reminder(ctx)
// Authentication helpers & services
DefaultAuthSettings, err = DefaultSettings.LoadAuthSettings()