Permalink
Browse files

Fixes typo in Connection

  • Loading branch information...
1 parent d4035fa commit aab62be776cb3b91e7b2795644b6ffce2e60acc3 @vesan committed Mar 24, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/kippt/connection.rb
View
@@ -49,7 +49,7 @@ def request(method, url, options)
set_default_headers(req)
unless @password
- if @user && @token
+ if @username && @token
req.headers["X-Kippt-Username"] = @username
req.headers["X-Kippt-API-Token"] = @token
end

0 comments on commit aab62be

Please sign in to comment.