diff --git a/ext/comment/main.php b/ext/comment/main.php index b1ae8e33..b6da4eed 100644 --- a/ext/comment/main.php +++ b/ext/comment/main.php @@ -103,7 +103,7 @@ class Comment } #[Mutation(name: "create_comment")] - public function create_comment(int $post_id, string $comment): bool + public static function create_comment(int $post_id, string $comment): bool { global $user; send_event(new CommentPostingEvent($post_id, $user, $comment));