Private
Public Access
1
0

fix polar

This commit is contained in:
Sander Roosendaal
2023-02-22 07:24:46 +01:00
parent 7f61a4bb94
commit 88c0e90dd8

View File

@@ -253,8 +253,12 @@ class PolarIntegration(SyncIntegration):
return 1
def register_user(self, token):
_ = self.open()
def register_user(self, token, *args, **kwargs):
try:
_ = self.open()
except NoTokenError:
pass
authorizationstring = 'Bearer {token}'.format(token=token)
headers = {