diff --git a/zoho/books/client.py b/zoho/books/client.py index 44fdbbf..7a83647 100644 --- a/zoho/books/client.py +++ b/zoho/books/client.py @@ -54,8 +54,4 @@ def get_specific_record(self, module, id): params = {'organization_id': self._organization_id} if self._organization_id is not None else {} - response = self._get(url, params=params) - if response and 'data' in response and len(response['data']) > 0 and response['data'][0]['id'] == id: - return response['data'] - else: - return False + return self._get(url, params=params)