Use u for uncertainty parameter

This commit is contained in:
Jonny Barnes 2016-10-03 14:46:53 +01:00
parent 842f2b047c
commit e335a80fda
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ function getLocation() {
function addPlacesMap(latitude, longitude, uncertainty) {
//get the nearby places
fetch('/places/near/' + latitude + '/' + longitude + '?' + uncertainty, {
fetch('/places/near/' + latitude + '/' + longitude + '?u=' + uncertainty, {
credentials: 'same-origin',
method: 'get'
}).then(function (response) {