Fix constant

This commit is contained in:
Eugene Burmakin 2025-05-18 11:19:49 +02:00
parent ce0c38e6e8
commit 2b453dc967

View file

@ -4,7 +4,7 @@ SELF_HOSTED = ENV.fetch('SELF_HOSTED', 'true') == 'true'
MIN_MINUTES_SPENT_IN_CITY = ENV.fetch('MIN_MINUTES_SPENT_IN_CITY', 60).to_i
::DISTANCE_UNITS = {
DISTANCE_UNITS = {
km: 1000, # to meters
mi: 1609.34, # to meters
m: 1, # already in meters