Skip to content

Commit

Permalink
Clean seperation of pr bigbluebutton#5068 (in backend)
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianAppDev committed Jun 14, 2024
1 parent 4a77fef commit 6fed1f1
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions app/serializers/current_room_serializer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ class CurrentRoomSerializer < ApplicationSerializer

attribute :last_session, if: -> { object.last_session }

attribute :voice_bridge, if: -> { Rails.application.config.voice_bridge_phone_number }
attribute :voice_bridge_phone_number, if: -> { Rails.application.config.voice_bridge_phone_number }

def presentation_name
presentation_file_name(object)
end
Expand All @@ -37,8 +34,4 @@ def thumbnail
def owner_name
object.user.name
end

def voice_bridge_phone_number
Rails.application.config.voice_bridge_phone_number
end
end

0 comments on commit 6fed1f1

Please sign in to comment.