diff --git a/connector/fyle_integrations_platform_connector/apis/dependent_fields.py b/connector/fyle_integrations_platform_connector/apis/dependent_fields.py index 7d0e532..aaddf7d 100644 --- a/connector/fyle_integrations_platform_connector/apis/dependent_fields.py +++ b/connector/fyle_integrations_platform_connector/apis/dependent_fields.py @@ -20,8 +20,15 @@ def get_project_field_id(self): """ Get Project Field ID """ - query_params = {'limit': 1, 'order': 'updated_at.desc', 'offset': 0, 'field_name': 'eq.Project', 'is_custom': 'eq.False'} - projects = self.connection.list(query_params) + query_params = { + 'limit': 1, + 'order': 'updated_at.desc', + 'offset': 0, + 'field_name': 'eq.Project', + 'is_custom': 'eq.False' + } + + projects = self.expense_fields_connection.list(query_params) project_field_id = None diff --git a/connector/setup.py b/connector/setup.py index c760abf..dcfb530 100644 --- a/connector/setup.py +++ b/connector/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name='fyle-integrations-platform-connector', - version='1.35.0', + version='1.35.1', author='Shwetabh Kumar', author_email='shwetabh.kumar@fyle.in', description='A common platform connector for all the Fyle Integrations to interact with Fyle Platform APIs',