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