From 0232807cc1f8fe5d2bed5ddccfecf20582bac521 Mon Sep 17 00:00:00 2001 From: Alexandros Milaios Date: Wed, 20 Sep 2023 14:03:42 +0300 Subject: [PATCH] chore: small fix --- .../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 34861692bd9a..eb4b8260a703 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) - MyFacebookAdsApi.api.set_access_token(access_token) + MyFacebookAdsApi.set_access_token(access_token) FacebookAdsApi.set_default_api(self.api) @cached_property