jointheleague / lets-eat

A food bank location mapping application for the San Diego Food Systems Alliance.
0 stars 2 forks source link

geocoding in better-admin #147

Closed philcruz closed 7 years ago

philcruz commented 7 years ago

need to implement geocoding in the better-admin branch when a location is added or updated.

philcruz commented 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?

najclark commented 7 years ago

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')