From 7425a650383281d82b0770f74bf0dfbdc5bda1d2 Mon Sep 17 00:00:00 2001 From: Samer Albahra Date: Tue, 11 Aug 2015 15:24:30 -0500 Subject: [PATCH] Update incorrect reference to callback --- routes/weather.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } ); }