diff options
| author | Felix Pahlow <felix.pahlow@itz.uni-halle.de> | 2024-09-03 16:18:07 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2024-09-04 09:11:06 +0200 |
| commit | 263f9c1192304695454c8eec20705f4f1c5fa4e6 (patch) | |
| tree | 13a629eab329e92a39144ea1ccbf3fd467023d01 | |
| parent | 33dbf42c29ba9ce5f51098f37a6743a00bb03f8b (diff) | |
Match signature of validateResourceDocument()
Closes #4558
Merge request studip/studip!3362
| -rw-r--r-- | lib/classes/JsonApi/Routes/Blubber/ThreadsUpdate.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/classes/JsonApi/Routes/Blubber/ThreadsUpdate.php b/lib/classes/JsonApi/Routes/Blubber/ThreadsUpdate.php index 5c698a3..42688c8 100644 --- a/lib/classes/JsonApi/Routes/Blubber/ThreadsUpdate.php +++ b/lib/classes/JsonApi/Routes/Blubber/ThreadsUpdate.php @@ -53,7 +53,7 @@ class ThreadsUpdate extends JsonApiController return $this->getContentResponse($thread); } - protected function validateResourceDocument($json) + protected function validateResourceDocument($json, $data) { if (self::arrayHas($json, 'data.attributes.visited-at')) { $visitedAt = self::arrayGet($json, 'data.attributes.visited-at'); |
