Skip to content
Snippets Groups Projects
Commit 81e65905 authored by Felix Pahlow's avatar Felix Pahlow Committed by André Noack
Browse files

Match signature of validateResourceDocument()

Closes #4558

Merge request studip/studip!3362
parent f0eef2f1
No related branches found
No related tags found
No related merge requests found
...@@ -53,7 +53,7 @@ class ThreadsUpdate extends JsonApiController ...@@ -53,7 +53,7 @@ class ThreadsUpdate extends JsonApiController
return $this->getContentResponse($thread); return $this->getContentResponse($thread);
} }
protected function validateResourceDocument($json) protected function validateResourceDocument($json, $data)
{ {
if (self::arrayHas($json, 'data.attributes.visited-at')) { if (self::arrayHas($json, 'data.attributes.visited-at')) {
$visitedAt = self::arrayGet($json, 'data.attributes.visited-at'); $visitedAt = self::arrayGet($json, 'data.attributes.visited-at');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment