Skip to content

Commit

Permalink
fix: Fixing the connection class call for project id (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shwetabhk authored Oct 20, 2023
1 parent 82a9871 commit 6bf0d24
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

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

setuptools.setup(
name='fyle-integrations-platform-connector',
version='1.35.0',
version='1.35.1',
author='Shwetabh Kumar',
author_email='[email protected]',
description='A common platform connector for all the Fyle Integrations to interact with Fyle Platform APIs',
Expand Down

0 comments on commit 6bf0d24

Please sign in to comment.