]> git.openstreetmap.org Git - rails.git/commitdiff
Merge remote-tracking branch 'upstream/pull/3765'
authorTom Hughes <tom@compton.nu>
Tue, 25 Oct 2022 18:27:01 +0000 (19:27 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 25 Oct 2022 18:27:01 +0000 (19:27 +0100)
lib/nominatim.rb

index f847ec84e323e2a6871f35e824b7d7e7bb53ff35..adb041da43857799d2bdbea0a8a1c018e1d536e6 100644 (file)
@@ -19,7 +19,7 @@ module Nominatim
       end
 
       if response && result = response.get_text("reversegeocode/result")
-        result.to_s
+        result.value
       else
         "#{number_with_precision(lat, :precision => 3)}, #{number_with_precision(lon, :precision => 3)}"
       end