Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
akopdev authored Jul 8, 2024
2 parents fce3364 + 87bc71d commit 6ea714d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion bitrix24/bitrix24.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,11 @@ def callMethod(self, method: str, params: Dict[str, Any] = None, **kwargs) -> Di
-------
Returning the REST method response as an array, an object or a scalar
"""

if params is None:
params = {}
if not method or len(method.split(".")) < 2:

if not method:
raise BitrixError("Wrong method name", 400)

try:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

setup(
name="bitrix24-rest",
version="2.0.0",
version="2.0.1",
packages=find_packages(),
install_requires=[
"aiohttp",
Expand Down

0 comments on commit 6ea714d

Please sign in to comment.