Skip to content

Commit

Permalink
Fix Connection
Browse files Browse the repository at this point in the history
  • Loading branch information
ruuushhh committed Feb 8, 2024
1 parent ddcded0 commit de7c5f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/business_central/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def get_company(self, workspace_id):

business_central_connector = BusinessCentralConnector(business_central_credentials, workspace_id=workspace_id)

companies = business_central_connector.get_companies()
companies = business_central_connector.sync_companies()

return Response(data=companies, status=status.HTTP_200_OK)
except BusinessCentralCredentials.DoesNotExist:
Expand Down

0 comments on commit de7c5f0

Please sign in to comment.