|
|
|
@@ -31,7 +31,9 @@ class TheatresController < ApplicationController |
|
|
|
post_started_at = theatre.current_post_started_at |
|
|
|
end |
|
|
|
|
|
|
|
render json: { host_flg:, post_id:, post_started_at: } |
|
|
|
render json: { |
|
|
|
host_flg:, post_id:, post_started_at:, |
|
|
|
watching_users: theatre.watching_users.as_json(only: [:id, :name]) } |
|
|
|
end |
|
|
|
|
|
|
|
def next_post |
|
|
|
|