From ee4ebd838f87d9f253e82fd4670cb913e6acb2b0 Mon Sep 17 00:00:00 2001 From: Taha Yassine Kraiem Date: Fri, 2 Sep 2022 20:26:06 +0100 Subject: [PATCH] feat(chalice): fixed github integration --- api/chalicelib/core/integration_base.py | 2 +- api/chalicelib/core/integration_github.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 0190cfbc5..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 self.__issue_handler + return self._issue_handler def get_obfuscated(self): integration = self.get()