Merge pull request #149 from zach-chai/end_meeting

send 200 on end meeting even if not found
This commit is contained in:
Zachary Chai 2017-03-17 16:12:06 -04:00 committed by GitHub
commit b937018d24
1 changed files with 1 additions and 0 deletions

View File

@ -128,6 +128,7 @@ class BbbController < ApplicationController
bbb_res = bbb_end_meeting "#{@user.encrypted_id}-#{params[:id]}" bbb_res = bbb_end_meeting "#{@user.encrypted_id}-#{params[:id]}"
if bbb_res[:returncode] || bbb_res[:status] == :not_found if bbb_res[:returncode] || bbb_res[:status] == :not_found
EndMeetingJob.perform_later(@user.encrypted_id, params[:id]) EndMeetingJob.perform_later(@user.encrypted_id, params[:id])
bbb_res[:status] = :ok
end end
render_bbb_response bbb_res render_bbb_response bbb_res
end end