diff --git a/utils/lib.js b/utils/lib.js index 1986aff..eeb70c8 100644 --- a/utils/lib.js +++ b/utils/lib.js @@ -120,7 +120,10 @@ function distanceFrom(locationA, locationB) { let r = 6371000; // calculate the result - return `${(c * r).toFixed()} m`; + let result = `${(c * r).toFixed()} m` + + console.debug('Result is ' + result); + return result; }