diff --git a/routes/weather.js b/routes/weather.js index d3eadd5..98e6bdf 100644 --- a/routes/weather.js +++ b/routes/weather.js @@ -232,7 +232,7 @@ function getCache( opt, callback ) { opt.weather[ opt.key ] = record[ opt.key ]; } - callback( opt.weather ); + opt.callback( opt.weather ); } ); }