From b07ce32e4273a231713699e49e188e26701a0411 Mon Sep 17 00:00:00 2001 From: Alexandros Milaios Date: Wed, 20 Sep 2023 12:54:35 +0300 Subject: [PATCH] chore: small change --- .../source-facebook-marketing/source_facebook_marketing/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/api.py b/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/api.py index 906e48846408..34861692bd9a 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/api.py +++ b/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/api.py @@ -176,7 +176,7 @@ def __init__(self, account_id: str, access_token: str): self._account_id = account_id # design flaw in MyFacebookAdsApi requires such strange set of new default api instance self.api = MyFacebookAdsApi.init(access_token=access_token, crash_log=False) - self.api.set_access_token(access_token) + MyFacebookAdsApi.api.set_access_token(access_token) FacebookAdsApi.set_default_api(self.api) @cached_property