lib/twilio-ruby/rest/insights/v1/room/participant.rb in twilio-ruby-7.1.1 vs lib/twilio-ruby/rest/insights/v1/room/participant.rb in twilio-ruby-7.2.0

- old
+ new

@@ -145,11 +145,12 @@ ## # Fetch the ParticipantInstance # @return [ParticipantInstance] Fetched ParticipantInstance def fetch + headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', }) - payload = @version.fetch('GET', @uri) + payload = @version.fetch('GET', @uri, headers: headers) ParticipantInstance.new( @version, payload, room_sid: @solution[:room_sid], participant_sid: @solution[:participant_sid],