Skip to content

Commit

Permalink
Fix #522, #535. See PR 624. (#683)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnalyzePlatypus authored Sep 19, 2024
1 parent 9562a65 commit 3ad21e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/channels/turbo/streams/broadcasts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def broadcast_prepend_later_to(*streamables, **opts)

def broadcast_refresh_later_to(*streamables, request_id: Turbo.current_request_id, **opts)
refresh_debouncer_for(*streamables, request_id: request_id).debounce do
Turbo::Streams::BroadcastStreamJob.perform_later stream_name_from(streamables), content: turbo_stream_refresh_tag(request_id: request_id, **opts)
Turbo::Streams::BroadcastStreamJob.perform_later stream_name_from(streamables), content: turbo_stream_refresh_tag(request_id: request_id, **opts).to_str # Sidekiq requires job arguments to be valid JSON types, such as String
end
end

Expand Down

0 comments on commit 3ad21e9

Please sign in to comment.