From d19f121559666b1f6209118fd197e6a7691c190d Mon Sep 17 00:00:00 2001 From: Samer Albahra Date: Sun, 20 May 2018 16:07:40 -0500 Subject: [PATCH] Fix spacing issue --- routes/weather.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/routes/weather.js b/routes/weather.js index 8031107..5d7d584 100755 --- a/routes/weather.js +++ b/routes/weather.js @@ -532,12 +532,12 @@ exports.getWeather = function( req, res ) { return; } else if ( filters.gps.test( location ) ) { - // Handle GPS coordinates by storing each coordinate in an array - location = location.split( "," ); - location = [ parseFloat( location[ 0 ] ), parseFloat( location[ 1 ] ) ]; + // Handle GPS coordinates by storing each coordinate in an array + location = location.split( "," ); + location = [ parseFloat( location[ 0 ] ), parseFloat( location[ 1 ] ) ]; - // Continue with the weather request - getOWMWeatherData( location, finishRequest ); + // Continue with the weather request + getOWMWeatherData( location, finishRequest ); } else { // Attempt to resolve provided location to GPS coordinates when it does not match