Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
leshchenko1979 committed Mar 20, 2024
1 parent b983d5c commit dafb326
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions fast_bitrix24/user_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,11 @@ def standardized_method(method: str):
return method.lower().strip()

def standardized_params(self, p):
if p is not None:
p = {key.upper().strip(): value for key, value in p.items()}
self.check_expected_clause_types(p)
if p is None:
return

p = {key.upper().strip(): value for key, value in p.items()}
self.check_expected_clause_types(p)

if "FILTER" in p and None in p["FILTER"].values():
warnings.warn(
Expand Down

0 comments on commit dafb326

Please sign in to comment.