diff --git a/connector/fyle_integrations_platform_connector/apis/base.py b/connector/fyle_integrations_platform_connector/apis/base.py index 92b5f47..a7fc049 100644 --- a/connector/fyle_integrations_platform_connector/apis/base.py +++ b/connector/fyle_integrations_platform_connector/apis/base.py @@ -23,7 +23,7 @@ def set_connection(self, connection): def set_workspace_id(self, workspace_id): self.workspace_id = workspace_id - self.workspace = Workspace.objects.get(id=self.workspace_id) + self.workspace = Workspace.objects.filter(id=self.workspace_id).first() def format_date(self, last_synced_at: datetime) -> str: diff --git a/connector/setup.py b/connector/setup.py index da51f8a..3d895db 100644 --- a/connector/setup.py +++ b/connector/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name='fyle-integrations-platform-connector', - version='1.32.2', + version='1.32.3', 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',