Backend: Fix olc "out of range" log message
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
e7f757a631
commit
e93f49f87e
1 changed files with 1 additions and 1 deletions
|
@ -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 ""
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue