aboutsummaryrefslogtreecommitdiff
path: root/lib/classes/JsonApi/Routes/Blubber/CommentsUpdate.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/classes/JsonApi/Routes/Blubber/CommentsUpdate.php')
-rw-r--r--lib/classes/JsonApi/Routes/Blubber/CommentsUpdate.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/classes/JsonApi/Routes/Blubber/CommentsUpdate.php b/lib/classes/JsonApi/Routes/Blubber/CommentsUpdate.php
index a3ef571..8f83246 100644
--- a/lib/classes/JsonApi/Routes/Blubber/CommentsUpdate.php
+++ b/lib/classes/JsonApi/Routes/Blubber/CommentsUpdate.php
@@ -44,7 +44,7 @@ class CommentsUpdate extends JsonApiController
return $this->getCodeResponse(204);
}
- protected function validateResourceDocument($json)
+ protected function validateResourceDocument($json, $data)
{
if (empty(self::arrayGet($json, 'data.attributes.content'))) {
return 'Comment should not be empty.';