Skip to content

Commit

Permalink
Update fast_bitrix24/srh.py
Browse files Browse the repository at this point in the history
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
  • Loading branch information
leshchenko1979 and sourcery-ai[bot] authored Jul 17, 2024
1 parent 4e5953e commit e947ae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fast_bitrix24/srh.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit e947ae6

Please sign in to comment.