Skip to content

Commit

Permalink
version bumped
Browse files Browse the repository at this point in the history
  • Loading branch information
ruuushhh committed Aug 31, 2023
1 parent 0efdb3e commit b0d93de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apps/mappings/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -703,12 +703,12 @@ def schedule_tax_groups_creation(import_tax_codes, workspace_id):
def auto_create_suppliers_as_merchants(workspace_id):
fyle_credentials: FyleCredential = FyleCredential.objects.get(workspace_id=workspace_id)
fyle_connection = PlatformConnector(fyle_credentials)

Check warning on line 705 in apps/mappings/tasks.py

View check run for this annotation

Codecov / codecov/patch

apps/mappings/tasks.py#L704-L705

Added lines #L704 - L705 were not covered by tests

xero_credentials = XeroCredentials.get_active_xero_credentials(workspace_id)
xero_connection = XeroConnector(xero_credentials, workspace_id=workspace_id)

Check warning on line 708 in apps/mappings/tasks.py

View check run for this annotation

Codecov / codecov/patch

apps/mappings/tasks.py#L707-L708

Added lines #L707 - L708 were not covered by tests

merchant_names = xero_connection.get_suppliers()

Check warning on line 710 in apps/mappings/tasks.py

View check run for this annotation

Codecov / codecov/patch

apps/mappings/tasks.py#L710

Added line #L710 was not covered by tests

if merchant_names:
fyle_connection.merchants.post(merchant_names, skip_existing_merchants=True)

Check warning on line 713 in apps/mappings/tasks.py

View check run for this annotation

Codecov / codecov/patch

apps/mappings/tasks.py#L712-L713

Added lines #L712 - L713 were not covered by tests

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ enum34==1.1.10
future==0.18.2
fyle==0.30.0
fyle-accounting-mappings==1.26.2
fyle-integrations-platform-connector==1.32.0
fyle-integrations-platform-connector==1.32.2
fyle-rest-auth==1.3.1
gevent==22.10.2
gunicorn==20.1.0
Expand Down

0 comments on commit b0d93de

Please sign in to comment.