send 200 on end meeting even if not found

This commit is contained in:
Zachary Chai 2017-03-17 16:02:52 -04:00
parent 89d8c9170e
commit fdf7fd54c5
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]}"
if bbb_res[:returncode] || bbb_res[:status] == :not_found
EndMeetingJob.perform_later(@user.encrypted_id, params[:id])
bbb_res[:status] = :ok
end
render_bbb_response bbb_res
end