lib/fb_graph/node.rb in fb_graph-1.0.4 vs lib/fb_graph/node.rb in fb_graph-1.0.5
- old
+ new
@@ -63,10 +63,10 @@
def build_endpoint(params = {})
_endpoint_ = if params[:connection]
File.join(self.endpoint, params.delete(:connection).to_s)
else
- params[:endpoint] || self.endpoint
+ self.endpoint.dup
end
params.delete_if do |k, v|
v.blank?
end
\ No newline at end of file