Closed philcruz closed 7 years ago
@najclark We have a updateDB function defined in 2 places: /lib/functions.js and /server/main.js.
They appear to be identical. We don't need both, right?
We need the one in Meteor.methods, because that method needs to be run on the server. I just left the updateDB function in functions.js because I wasn't sure if it was still being used in other places. I was planning on finding where the updateDB function was being used and replacing it with Meteor.call('updateDB')
need to implement geocoding in the better-admin branch when a location is added or updated.