From 144c829bbc73a57ff82c3f3ff7498afa868d5aa4 Mon Sep 17 00:00:00 2001 From: Joakim Bygdell Date: Tue, 13 Aug 2024 10:26:38 +0200 Subject: [PATCH] [api] fixup config API needs the schema location --- sda/internal/config/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/sda/internal/config/config.go b/sda/internal/config/config.go index 8dbda291b..a70fe7bf7 100644 --- a/sda/internal/config/config.go +++ b/sda/internal/config/config.go @@ -483,6 +483,7 @@ func NewConfig(app string) (*Config, error) { if viper.IsSet("admin.users") { c.API.Admins = append(c.API.Admins, strings.Split(string(viper.GetString("admin.users")), ",")...) } + c.configSchemas() case "auth": c.Auth.Cega.AuthURL = viper.GetString("auth.cega.authUrl") c.Auth.Cega.ID = viper.GetString("auth.cega.id")