diff options
Diffstat (limited to 'lib/classes/JsonApi/Routes/Blubber/CommentsCreate.php')
| -rw-r--r-- | lib/classes/JsonApi/Routes/Blubber/CommentsCreate.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/classes/JsonApi/Routes/Blubber/CommentsCreate.php b/lib/classes/JsonApi/Routes/Blubber/CommentsCreate.php index a1402b4..3548645 100644 --- a/lib/classes/JsonApi/Routes/Blubber/CommentsCreate.php +++ b/lib/classes/JsonApi/Routes/Blubber/CommentsCreate.php @@ -46,7 +46,7 @@ class CommentsCreate extends JsonApiController return $this->getCreatedResponse($comment); } - protected function validateResourceDocument($json) + protected function validateResourceDocument($json, $data) { if (empty(self::arrayGet($json, 'data.attributes.content'))) { return 'Comment should not be empty.'; |
