codeforkansascity / meep-backend

MIT License
8 stars 11 forks source link

Lat/Lng on `/locations` endpoint is flipped #119

Open chrisschaaf opened 3 years ago

chrisschaaf commented 3 years ago

ex:

{
  "locations": [
    {
      "address": "601 N Iowa St",
      "city": "Lawrence",
      "id": 1,
      "latitude": -95.2632409,
      "longitude": 38.9930314,
      "state": "KS",
      "zipCode": 66044
    }
  ]
}

/location-markers seems good, just this one is flipped and will probably mess up location filtering. The data as far as I can tell is being inputted correctly in the db_operations, but perhaps just the endpoint output is flipped?