Skip to content
Snippets Groups Projects
Commit 2661d317 authored by Sam Giffney's avatar Sam Giffney
Browse files

ensure false cache_hit on cache miss

parent 76b79440
No related branches found
No related tags found
No related merge requests found
......@@ -156,6 +156,7 @@ module Geocoder
if cache and (200..399).include?(response.code.to_i)
cache[url] = body
end
@cache_hit = false
end
body
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment