Commit f68d9261 authored by Ahmad Sherif's avatar Ahmad Sherif

Fix typos

parent 07275dd7
......@@ -110,7 +110,7 @@ module Gitlab
if block_given?
yield data
# api.last_response could change while we're yielding (e.g. fetching labels for each PR)
# so we cache our own last request
# so we cache our own last response
each_response_page(last_response, &block)
else
each_response_page(last_response) { |page| data.concat(page) }
......
......@@ -203,7 +203,7 @@ module Gitlab
# No matching resource in the collection, which means we got halted right on the end of the last page, so all good
return unless cut_off_index
# Otherwise, remove the resouces we've already inserted
# Otherwise, remove the resources we've already inserted
comments.shift(cut_off_index + 1)
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment