projects
/
WP-Plugins
/
glm-member-db-rest-api.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fd4c08
)
retrieve params through get in POI route
author
Laury GvR
<laury@gaslightmedia.com>
Thu, 1 Aug 2019 16:03:26 +0000
(12:03 -0400)
committer
Laury GvR
<laury@gaslightmedia.com>
Thu, 1 Aug 2019 16:03:26 +0000
(12:03 -0400)
setup/routes/pointsOfInterest.php
patch
|
blob
|
history
diff --git
a/setup/routes/pointsOfInterest.php
b/setup/routes/pointsOfInterest.php
index
1beaa03
..
0448f54
100644
(file)
--- a/
setup/routes/pointsOfInterest.php
+++ b/
setup/routes/pointsOfInterest.php
@@
-60,7
+60,7
@@
class GLMA_POI_Rest_Controller
'methods' => WP_REST_Server::READABLE,
'callback' => function( $request ) {
-
+ $this->params = $request->get_params();
$latMin = $this->params['latMin'];
$lastLatMin = $this->params['lastLatMin'];
$latMax = $this->params['latMax'];