lib/fb_graph/connections/family.rb in fb_graph-1.8.0 vs lib/fb_graph/connections/family.rb in fb_graph-1.8.1
- old
+ new
@@ -2,10 +2,10 @@
module Connections
module Family
def family(options = {})
users = self.connection(:family, options)
users.map! do |user|
- User.new(user.delete(:id), user.merge(
+ User.new(user[:id], user.merge(
:access_token => options[:access_token] || self.access_token
))
end
end
end
\ No newline at end of file