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:
7dd78a3
)
fixing the rest api class invocation that was previously calling the rest api from...
author
Anthony Talarico
<talarico@gaslightmedia.com>
Tue, 2 Jul 2019 15:59:52 +0000
(11:59 -0400)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Tue, 2 Jul 2019 15:59:52 +0000
(11:59 -0400)
setup/routes.php
patch
|
blob
|
history
diff --git
a/setup/routes.php
b/setup/routes.php
index
7c1ef05
..
aa22013
100644
(file)
--- a/
setup/routes.php
+++ b/
setup/routes.php
@@
-81,7
+81,6
@@
class GLMA_Rest_Api
// Get List of Members
$members = $memberData->getList( $where, 'member_name');
-
return rest_ensure_response( array_values($members ) );
},
)
@@
-147,7
+146,7
@@
class GLMA_Rest_Api
add_action(
'rest_api_init',
function(){
- $controller = new
glmAssoc_Controller_Members
( $this->wpdb, $this->config );
+ $controller = new
GLMA_Rest_Api
( $this->wpdb, $this->config );
$controller->register_routes();
}
);