DEV: Typo. (#16092)

This commit is contained in:
Alan Guo Xiang Tan 2022-03-03 09:24:58 +08:00 committed by GitHub
parent d52aa6a51b
commit 7f9c0e476f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ class DiscourseIpInfo
ret[:longitude] = result.location.longitude
ret[:location] = ret.values_at(:city, :region, :country).reject(&:blank?).uniq.join(", ")
# used by plugins or API to locate users more accurate
# used by plugins or API to locate users more accurately
ret[:geoname_ids] = [
result.continent.geoname_id, result.country.geoname_id, result.city.geoname_id,
*result.subdivisions.map(&:geoname_id)