update payment action cable
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
class OrderBroadcastJob < ApplicationJob
|
||||
queue_as :default
|
||||
|
||||
def perform(table)
|
||||
ActionCable.server.broadcast "order_channel",table: table
|
||||
def perform(table,type)
|
||||
ActionCable.server.broadcast "order_channel",table: table,type:type
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user