Skip to content

Commit

Permalink
Remove duplicate code (#1093)
Browse files Browse the repository at this point in the history
  • Loading branch information
farhatahmad authored Jun 28, 2024
1 parent 5a25fcb commit fd2fa16
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions app/controllers/bigbluebutton_api_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -220,11 +220,6 @@ def create
params[:'meta_secret-lrs-payload'] = lrs_payload if lrs_payload.present?
end

if @tenant&.lrs_endpoint.present?
lrs_payload = LrsPayloadService.new(tenant: @tenant, secret: server.secret).call
params[:'meta_secret-lrs-payload'] = lrs_payload if lrs_payload.present?
end

have_preuploaded_slide = request.post? && request.content_mime_type == Mime[:xml]

logger.debug("Creating meeting #{params[:meetingID]} on BigBlueButton server #{server.id}")
Expand Down

0 comments on commit fd2fa16

Please sign in to comment.