From b5f170e4512d14893c4968b91c15cf967682a207 Mon Sep 17 00:00:00 2001 From: Jian Yuan Lee Date: Fri, 22 Sep 2023 09:05:08 +0100 Subject: [PATCH] Fix enum --- src/sentry/types/integrations.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sentry/types/integrations.py b/src/sentry/types/integrations.py index 354436f8b2330..99d139e3e6ac4 100644 --- a/src/sentry/types/integrations.py +++ b/src/sentry/types/integrations.py @@ -34,6 +34,7 @@ class ExternalProviderEnum(Enum): DISCORD = "discord" OPSGENIE = "opsgenie" GITHUB = "github" + GITHUB_ENTERPRISE = "github_enterprise" GITLAB = "gitlab" CUSTOM = "custom_scm" @@ -46,6 +47,7 @@ class ExternalProviderEnum(Enum): ExternalProviderEnum.DISCORD: ExternalProviders.DISCORD, ExternalProviderEnum.OPSGENIE: ExternalProviders.OPSGENIE, ExternalProviderEnum.GITHUB: ExternalProviders.GITHUB, + ExternalProviderEnum.GITHUB_ENTERPRISE: ExternalProviders.GITHUB_ENTERPRISE, ExternalProviderEnum.GITLAB: ExternalProviders.GITLAB, ExternalProviderEnum.CUSTOM: ExternalProviders.CUSTOM, }