Skip to content

Commit

Permalink
Transition the page correctly as soon as full sync has completed
Browse files Browse the repository at this point in the history
  • Loading branch information
allthesignals committed Oct 2, 2024
1 parent c987e47 commit e389c9a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/app/controllers/webhooks/pinwheel/events_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ def create
track_account_synced_event(@cbv_flow, pinwheel_account)

PaystubsChannel.broadcast_to(@cbv_flow, {
event: "cbv.payroll_data_available",
account_id: params["payload"]["account_id"]
event: "cbv.status_update",
account_id: params["payload"]["account_id"],
has_fully_synced: true
})
end
end
Expand Down

0 comments on commit e389c9a

Please sign in to comment.