diff --git a/connector/fyle_integrations_platform_connector/apis/expenses.py b/connector/fyle_integrations_platform_connector/apis/expenses.py index 6ef6474..65efd32 100644 --- a/connector/fyle_integrations_platform_connector/apis/expenses.py +++ b/connector/fyle_integrations_platform_connector/apis/expenses.py @@ -185,7 +185,8 @@ def __construct_expenses_objects(self, expenses: List[dict]) -> List[dict]: 'file_ids': expense['file_ids'], 'spent_at': self.__format_date(expense['spent_at']), 'approved_at': self.__format_date(expense['report']['last_approved_at']) if 'report' in expense and expense['report'] else None, - 'posted_at': self.__format_date(posted_at) if posted_at else None, + 'posted_at': self.__format_date(posted_at) if posted_at else self.__format_date(expense['spent_at']), + 'is_posted_at_null': False if posted_at else True, 'expense_created_at': expense['created_at'], 'expense_updated_at': expense['updated_at'], 'source_account_type': expense['source_account']['type'], diff --git a/connector/setup.py b/connector/setup.py index 1f73454..3803ba1 100644 --- a/connector/setup.py +++ b/connector/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name='fyle-integrations-platform-connector', - version='1.39.2', + version='1.39.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',