Browse Source

#297

feature/297
みてるぞ 4 days ago
parent
commit
76f8e6875e
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      backend/app/controllers/theatres_controller.rb

+ 3
- 1
backend/app/controllers/theatres_controller.rb View File

@@ -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


Loading…
Cancel
Save