Backend: Fix olc "out of range" log message

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2019-12-27 23:22:09 +01:00
parent e7f757a631
commit e93f49f87e

View file

@ -11,7 +11,7 @@ func OlcEncode(lat, lng float64) string {
}
if lng < -180 || lng > 180 {
log.Warnf("olc: longitude out of range (%f)", lat)
log.Warnf("olc: longitude out of range (%f)", lng)
return ""
}