checkin
This commit is contained in:
@@ -3,7 +3,9 @@ class CheckinJob < ApplicationJob
|
||||
|
||||
def perform()
|
||||
table = DiningFacility.get_checkin_booking
|
||||
ActionCable.server.broadcast "checkin_channel",table: table
|
||||
if table.length > 0
|
||||
ActionCable.server.broadcast "checkin_channel",table: table
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user