server/api/twitter/twitter.controller.js
// Gets places based on lat & long data
Gets places based on lat & long data
Gets places based on lat & long data
function places(req, res) {
  return getTwitterPlaces(req.params.lat, req.params.lng).then(data => {
    res.status(200).send(data);
  });
}
function places ( req , res ) { return getTwitterPlaces ( req . params . lat , req . params . lng ) . then ( data => { res . status ( 200 ) . send ( data ) ; } ) ; }
Gets places based on lat & long data
Gets places based on lat & long data