diff --git a/fast_bitrix24/srh.py b/fast_bitrix24/srh.py index 93ff3e3..c114e17 100644 --- a/fast_bitrix24/srh.py +++ b/fast_bitrix24/srh.py @@ -164,7 +164,7 @@ async def request_attempt(self, method, params=None) -> dict: async with self.acquire(method): logger.debug(f"Requesting {{'method': {method}, 'params': {params}}}") - if len(self.auth): + if self.auth: params["auth"] = self.auth async with self.session.post(