forked from External/greenlight
update recording notify to work with new workflow
This commit is contained in:
@ -19,8 +19,10 @@ class RecordingCreatedJob < ApplicationJob
|
||||
|
||||
queue_as :default
|
||||
|
||||
def perform(room, recording)
|
||||
def perform(token, room, recording)
|
||||
ActionCable.server.broadcast "#{room}_recording_updates_channel",
|
||||
{ action: 'create' }.merge(recording)
|
||||
ActionCable.server.broadcast "#{token}_recording_updates_channel",
|
||||
{ action: 'create' }.merge(recording)
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user