finish delete recording feature

This commit is contained in:
Zachary Chai
2016-11-08 16:03:24 -05:00
parent 93b5e9a1b3
commit 83bdf4c387
8 changed files with 68 additions and 16 deletions

View File

@ -69,6 +69,9 @@ class BbbController < ApplicationController
# DELETE /rooms/:id/recordings/:record_id
def delete_recordings
bbb_res = bbb_delete_recordings(params[:record_id])
if bbb_res[:returncode]
RecordingDeletesJob.perform_later(@user.username, params[:record_id])
end
render_bbb_response bbb_res
end