Permalink
Browse files

Fix authenticate_as_app with logging enabled

NoMethodError: undefined method `body' for {"access_token"=>"1426088894273662|dJE00nxA_buHZHdFLOWMtkYTHXA"}:Hash
  • Loading branch information...
1 parent 7490ea0 commit 882e0ad5c8e58685e6a5d9d3838d3327e05a7993 @blanchma blanchma committed Oct 12, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/mini_fb.rb
View
@@ -562,7 +562,7 @@ def self.authenticate_as_app(app_id, secret)
options[:method] = :get
options[:response_type] = :params
resp = fetch(url, options)
- puts 'resp=' + resp.body.to_s if @@logging
+ puts 'resp=' + resp if @@logging
resp
end

0 comments on commit 882e0ad

Please sign in to comment.