Skip to content

Commit

Permalink
fix: support marking an integration back as active (#684)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwin1111 authored Oct 15, 2024
1 parent d9e74bd commit 8f07dc0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/workspaces/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ def connect_qbo_oauth(refresh_token, realm_id, workspace_id):

workspace.save()

if workspace.onboarding_state == 'COMPLETE':
post_to_integration_settings(workspace_id, True)

# Return the QBO credentials as serialized data
return Response(data=QBOCredentialSerializer(qbo_credentials).data, status=status.HTTP_200_OK)

Expand Down

0 comments on commit 8f07dc0

Please sign in to comment.