lib/resend/request.rb in resend-0.17.1 vs lib/resend/request.rb in resend-0.17.2

- old
+ new

@@ -33,9 +33,10 @@ options = { headers: @headers } options[:body] = @body.to_json unless @body.empty? + resp = HTTParty.send(@verb.to_sym, "#{BASE_URL}#{@path}", options) check_json!(resp) resp.transform_keys!(&:to_sym) unless resp.body.empty?