Skip to content

Commit

Permalink
fix missing self in authenticator init
Browse files Browse the repository at this point in the history
  • Loading branch information
pnadolny13 committed Nov 15, 2023
1 parent 9e42da8 commit 6c029e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tap_hubspot/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,12 @@ def authenticator(self) -> _Auth:

if "refresh_token" in self.config:
return HubSpotOAuthAuthenticator(
self,
auth_endpoint="https://api.hubapi.com/oauth/v1/token",
)
else:
return BearerTokenAuthenticator(
self,
token=self.config.get("access_token"),
)

Expand Down

0 comments on commit 6c029e3

Please sign in to comment.