1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Correct copy & paste error.

This commit is contained in:
Chris Hasenpflug 2012-02-06 16:00:51 -06:00
parent e0ac5d44a0
commit 86d4a9325e

View file

@ -80,7 +80,7 @@ module Fog
def request(params)
params[:headers] ||= {}
key = "#{@dnsimple_email}:#{@dnsimple_password}"
params[:headers].merge!({ "Authorization" => "Basic " + Base64.encode64(data).gsub("\n",''),
params[:headers].merge!({ "Authorization" => "Basic " + Base64.encode64(key).gsub("\n",''),
"Accept" => "application/json",
"Content-Type" => "application/json" })