[feat] Endpoint implementation done
This commit is contained in:
parent
018bbff7b8
commit
879510bc8c
4 changed files with 6 additions and 9 deletions
|
|
@ -786,9 +786,9 @@ class Conference < ApplicationRecord
|
|||
|
||||
def find_live_events
|
||||
live_events = []
|
||||
for event in program.events
|
||||
if event.is_live?
|
||||
live_events.append(event)
|
||||
program.events.each do |event|
|
||||
if event.live?
|
||||
live_events.append(event)
|
||||
end
|
||||
end
|
||||
live_events
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue