diff --git a/server/controllers/ticket/comment.php b/server/controllers/ticket/comment.php index 3854c86f..f1a82231 100644 --- a/server/controllers/ticket/comment.php +++ b/server/controllers/ticket/comment.php @@ -7,6 +7,13 @@ class CommentController extends Controller { private $ticketId; private $content; + public function validations() { + return [ + 'permission' => 'any', + 'requestData' => [] + ]; + } + public function handler() { $this->requestData(); $this->storeComment();