diff --git a/cbpro/public_client.py b/cbpro/public_client.py index e854a163..f484dadc 100644 --- a/cbpro/public_client.py +++ b/cbpro/public_client.py @@ -266,7 +266,7 @@ def _send_message(self, method, endpoint, params=None, data=None): """ url = self.url + endpoint r = self.session.request(method, url, params=params, data=data, - auth=self.auth, timeout=30) + timeout=30) return r.json() def _send_paginated_message(self, endpoint, params=None): @@ -296,7 +296,7 @@ def _send_paginated_message(self, endpoint, params=None): params = dict() url = self.url + endpoint while True: - r = self.session.get(url, params=params, auth=self.auth, timeout=30) + r = self.session.get(url, params=params, timeout=30) results = r.json() for result in results: yield result