Browse files

Fix construction of the query-string in ItemList.next

  • Loading branch information...
1 parent a2b50f5 commit 7aa9b0931140db8324a1e193b3beca314aac255f Gustavo Machado Campagnani Gama committed Dec 18, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/google-reader/item-list.rb
View
2 lib/google-reader/item-list.rb
@@ -40,7 +40,7 @@ def next?
# fetch next batch of items, if available
def next(params = {})
next? or return nil
- resp = @request_proxy.get(merge_query_string(@url, {:continuation => @continuation}))
+ resp = @request_proxy.get(merge_query_string(@url, params.merge({:continuation => @continuation})))
self.class.new(@request_proxy, resp.body)
end
alias :more :next

0 comments on commit 7aa9b09

Please sign in to comment.