Skip to content

Commit

Permalink
Return unauthorized if recording ready call fails (#5972)
Browse files Browse the repository at this point in the history
  • Loading branch information
farhatahmad authored Dec 5, 2024
1 parent 95e9c65 commit 25ba321
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/controllers/external_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ def recording_ready
RecordingCreator.new(recording:, first_creation: true).call

render json: {}, status: :ok
rescue JWT::DecodeError
render json: {}, status: :unauthorized
end

# GET /meeting_ended
Expand Down

0 comments on commit 25ba321

Please sign in to comment.