fixed endpoint uri

This commit is contained in:
Ross Trottier 2024-10-08 09:45:22 -06:00
parent 1792f606e2
commit 7514d9adfe

View File

@ -414,7 +414,7 @@ function federated_route_needs_set_to_removal_register(){
//register routes here //register routes here
register_rest_route( register_rest_route(
'federated-rest/v1', 'federated-rest/v1',
'needs-removal', 'needs-set-to-removal',
array( array(
'methods' => 'GET', 'methods' => 'GET',
'callback' => 'federated_needs_set_to_removal_subscriptions', 'callback' => 'federated_needs_set_to_removal_subscriptions',