From 1c8fa3960cdce3b629ba88f0ab7d204867989c03 Mon Sep 17 00:00:00 2001 From: Jose Luis Salas Date: Mon, 25 Nov 2013 13:58:42 +0100 Subject: [PATCH] [dnsimple] remove host from request --- lib/fog/dnsimple/dns.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fog/dnsimple/dns.rb b/lib/fog/dnsimple/dns.rb index e794f4d00..955ba88c5 100644 --- a/lib/fog/dnsimple/dns.rb +++ b/lib/fog/dnsimple/dns.rb @@ -85,7 +85,7 @@ module Fog "Accept" => "application/json", "Content-Type" => "application/json" }) - response = @connection.request(params.merge!({:host => @host})) + response = @connection.request(params) unless response.body.empty? response.body = Fog::JSON.decode(response.body)