diff --git a/bitrix24/bitrix24.py b/bitrix24/bitrix24.py index 588c462..f8e5a27 100644 --- a/bitrix24/bitrix24.py +++ b/bitrix24/bitrix24.py @@ -150,7 +150,7 @@ def callMethod(self, method: str, params: Dict[str, Any] = {}, **kwargs) -> Dict ------- Returning the REST method response as an array, an object or a scalar """ - if not method or len(method.split(".")) < 2: + if not method: raise BitrixError("Wrong method name", 400) try: diff --git a/setup.py b/setup.py index cf642ff..e3f0895 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ setup( name="bitrix24-rest", - version="2.0.0", + version="2.0.1", packages=find_packages(), install_requires=[ "aiohttp",