Skip to content

Commit

Permalink
adding filter and first instead of get (#64)
Browse files Browse the repository at this point in the history
* adding filter and first instead of get

* bumping version
  • Loading branch information
labhvam5 authored Sep 1, 2023
1 parent 142d2dd commit db0310e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
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.32.2',
version='1.32.3',
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 db0310e

Please sign in to comment.