lib/twilio-ruby/rest/content/v1/content/approval_fetch.rb in twilio-ruby-7.1.1 vs lib/twilio-ruby/rest/content/v1/content/approval_fetch.rb in twilio-ruby-7.2.0

- old
+ new

@@ -60,11 +60,12 @@ ## # Fetch the ApprovalFetchInstance # @return [ApprovalFetchInstance] Fetched ApprovalFetchInstance 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) ApprovalFetchInstance.new( @version, payload, content_sid: @solution[:content_sid], )