diff --git a/routes/weather.js b/routes/weather.js index 87111ee..2280fa5 100644 --- a/routes/weather.js +++ b/routes/weather.js @@ -415,7 +415,7 @@ exports.getWeather = function( req, res ) { // If it is raining and the user has weather-based rain delay as the adjustment method then apply the specified delay if ( adjustmentMethod === 2 ) { - rainDelay = ( adjustmentOptions && adjustmentOptions.hasOwnProperty( "d" ) ) ? adjustmentOptions.d : 1440; + rainDelay = ( adjustmentOptions && adjustmentOptions.hasOwnProperty( "d" ) ) ? adjustmentOptions.d : 24; } else { // For any other adjustment method, apply a scale of 0 (as the scale will revert when the rain stops)