mirror of
https://github.com/Automattic/wordpress-activitypub
synced 2024-10-18 14:23:31 +00:00
fix comments endpoint
This commit is contained in:
parent
a9e0e0eb06
commit
c8634d936c
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ class Comment {
|
|||
public static function register_routes() {
|
||||
\register_rest_route(
|
||||
ACTIVITYPUB_REST_NAMESPACE,
|
||||
'/(users|actors)/(?P<comment_id>\d+)/remote-reply',
|
||||
'/comments/(?P<comment_id>\d+)/remote-reply',
|
||||
array(
|
||||
array(
|
||||
'methods' => WP_REST_Server::READABLE,
|
||||
|
|
Loading…
Reference in a new issue