diff --git a/api/chalicelib/core/integration_base.py b/api/chalicelib/core/integration_base.py index 6377599af..f03d96672 100644 --- a/api/chalicelib/core/integration_base.py +++ b/api/chalicelib/core/integration_base.py @@ -7,7 +7,7 @@ class BaseIntegration(ABC): def __init__(self, user_id, ISSUE_CLASS): self._user_id = user_id - self.__issue_handler = ISSUE_CLASS(self.integration_token) + self._issue_handler = ISSUE_CLASS(self.integration_token) @property @abstractmethod diff --git a/api/chalicelib/core/integration_github.py b/api/chalicelib/core/integration_github.py index 31e715f4a..b300aa7f7 100644 --- a/api/chalicelib/core/integration_github.py +++ b/api/chalicelib/core/integration_github.py @@ -18,7 +18,7 @@ class GitHubIntegration(integration_base.BaseIntegration): @property def issue_handler(self): - return + return self._issue_handler def get_obfuscated(self): integration = self.get()