Closed andrealonzo closed 8 years ago
Coodinates must be in this format: {lat: Number, lng: Number}, not {lat: ... , lon: ....}
I think it's better to update geo-location only if the address has changed. This can be verified comparing req.body.address with the address of the old object into the db. The same for the settings.
req.body.address
Coodinates must be in this format: {lat: Number, lng: Number}, not {lat: ... , lon: ....}