lib/fb_graph/node.rb in fb_graph-1.8.0 vs lib/fb_graph/node.rb in fb_graph-1.8.1
- old
+ new
@@ -11,10 +11,10 @@
end
def fetch(options = {})
options[:access_token] ||= self.access_token if self.access_token
_fetched_ = get(options)
- self.class.new(_fetched_.delete(:id), _fetched_.merge(:access_token => options[:access_token]))
+ self.class.new(_fetched_[:id], _fetched_.merge(:access_token => options[:access_token]))
end
def self.fetch(identifier, options = {})
new(identifier).fetch(options)
end
\ No newline at end of file