diff --git a/server/config/raw/global_cfg.go b/server/config/raw/global_cfg.go index 40dffefd6..2990e5bdb 100644 --- a/server/config/raw/global_cfg.go +++ b/server/config/raw/global_cfg.go @@ -31,16 +31,16 @@ type GlobalCfg struct { } type ExtraGithubRateLimit struct { - GHSlug string `yaml:"gh_slug" json:"gh_slug"` - GHAppID int `yaml:"gh_app_id" json:"gh_app_id"` - GHAppKey string `yaml:"gh_app_key" json:"gh_app_key"` + GHSlug string `yaml:"gh_slug" json:"gh_slug"` + GHAppID int `yaml:"gh_app_id" json:"gh_app_id"` + GHAppKeyPath string `yaml:"gh_app_key_path" json:"gh_app_key_path"` } func (t ExtraGithubRateLimit) ToValid() valid.ExtraGithubRateLimit { return valid.ExtraGithubRateLimit{ - GHSlug: t.GHSlug, - GHAppID: t.GHAppID, - GHAppKey: t.GHAppKey, + GHSlug: t.GHSlug, + GHAppID: t.GHAppID, + GHAppKeyPath: t.GHAppKeyPath, } } diff --git a/server/config/valid/global_cfg.go b/server/config/valid/global_cfg.go index ef30b17eb..89811f0fc 100644 --- a/server/config/valid/global_cfg.go +++ b/server/config/valid/global_cfg.go @@ -70,9 +70,9 @@ type GlobalCfg struct { // This is here for using an extra github app type ExtraGithubRateLimit struct { - GHSlug string - GHAppID int // note that this is also known as the "integration ID" - GHAppKey string + GHSlug string + GHAppID int // note that this is also known as the "integration ID" + GHAppKeyPath string } type AdhocMode struct {