Skip to content

Commit

Permalink
Fix enum
Browse files Browse the repository at this point in the history
  • Loading branch information
jianyuan committed Oct 15, 2023
1 parent 417fd2e commit b5f170e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sentry/types/integrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class ExternalProviderEnum(Enum):
DISCORD = "discord"
OPSGENIE = "opsgenie"
GITHUB = "github"
GITHUB_ENTERPRISE = "github_enterprise"
GITLAB = "gitlab"
CUSTOM = "custom_scm"

Expand All @@ -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,
}
Expand Down

0 comments on commit b5f170e

Please sign in to comment.