Merge branch 'feature/fetch-api' into develop
This commit is contained in:
commit
69d6e16ab9
6 changed files with 4 additions and 4 deletions
|
@ -308,7 +308,7 @@ class MicropubClientController extends Controller
|
|||
|
||||
try {
|
||||
$query = 'geo:' . $latitude . ',' . $longitude;
|
||||
if ($request->input('uncertainty') !== null) {
|
||||
if ($request->input('u') !== null) {
|
||||
$query .= ';u=' . $request->input('uncertainty');
|
||||
}
|
||||
$response = $this->guzzleClient->get($micropubEndpoint, [
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue