Properly encode lat/lng on location

This commit is contained in:
Eli Ribble 2026-03-09 18:29:03 +00:00
parent 6b4c6ab942
commit 66beb30d93
No known key found for this signature in database

View file

@ -1,6 +1,6 @@
package types
type Location struct {
Latitude float64 `db:"latitude"`
Longitude float64 `db:"longitude"`
Latitude float64 `db:"latitude" json:"latitude"`
Longitude float64 `db:"longitude" json:"longitude"`
}