Skip to content

Commit

Permalink
Fix no data case
Browse files Browse the repository at this point in the history
  • Loading branch information
frodrigo committed Dec 19, 2024
1 parent 889534c commit e1e8011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion overpass/overpass_logical_history.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def self.fetch_osm_at_data(bbox, date_start, date_end)
h = Hash.from_xml(response.body)
old = []
new = []
h['osm']['action'].collect{ |action|
h.dig('osm', 'action')&.collect{ |action|
case action['type']
when 'delete'
old << action['old']
Expand Down

0 comments on commit e1e8011

Please sign in to comment.