fix comments endpoint

This commit is contained in:
Matthias Pfefferle 2024-07-10 10:45:07 +02:00
parent a9e0e0eb06
commit c8634d936c

View file

@ -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,