Skip to content

Commit

Permalink
chore: small change
Browse files Browse the repository at this point in the history
  • Loading branch information
am6010 committed Sep 20, 2023
1 parent f6ea2b2 commit b07ce32
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b07ce32

Please sign in to comment.