From 43a4218e7fd1c27ef15423122bc7405ef23790f6 Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Thu, 13 Jun 2024 13:26:29 -0400 Subject: [PATCH] Explicit access token arg --- common/api/sunnylink.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/api/sunnylink.py b/common/api/sunnylink.py index 5b171b0e29..e2761cc29f 100644 --- a/common/api/sunnylink.py +++ b/common/api/sunnylink.py @@ -22,11 +22,11 @@ class SunnylinkApi(BaseApi): self.spinner = None self.params = Params() - def api_get(self, endpoint, method='GET', timeout=10, **kwargs): + def api_get(self, endpoint, method='GET', timeout=10, access_token=None, **kwargs): if not self.params.get_bool("SunnylinkEnabled"): return None - return super().api_get(endpoint, method, timeout, **kwargs) + return super().api_get(endpoint, method, timeout, access_token, **kwargs) def resume_queued(self, timeout=10, **kwargs): sunnylinkId, commaId = self._resolve_dongle_ids()