Skip to content

Commit

Permalink
fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
cathteng committed Nov 4, 2024
1 parent abc1df4 commit 470708d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/sentry/integrations/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ def exists(self, key: str) -> bool:

def register(self, cls: type[IntegrationProvider]) -> None:
self.__values[cls.key] = cls
self.__domain_integrations[cls.domain].append(cls.key)
self.__integration_domains[cls.key] = cls.domain
if cls.domain:
self.__domain_integrations[cls.domain].append(cls.key)
self.__integration_domains[cls.key] = cls.domain

def unregister(self, cls: type[IntegrationProvider]) -> None:
try:
Expand Down

0 comments on commit 470708d

Please sign in to comment.