]> git.openstreetmap.org Git - rails.git/blobdiff - lib/nominatim.rb
Bump eslint from 8.39.0 to 8.40.0
[rails.git] / 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