From 6c029e3ccc1eeede165ce50b9531285ab56c9992 Mon Sep 17 00:00:00 2001 From: pnadolny13 Date: Wed, 15 Nov 2023 08:22:06 -0500 Subject: [PATCH] fix missing self in authenticator init --- tap_hubspot/client.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tap_hubspot/client.py b/tap_hubspot/client.py index 8ccaeba..d6945dc 100644 --- a/tap_hubspot/client.py +++ b/tap_hubspot/client.py @@ -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"), )