Skip to content

Commit f850127

Browse files
committed
Merge pull request #129 from UFTimmy/patch-1
Fix custom workflow calls
2 parents 6cefff6 + a3e97b3 commit f850127

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Controller/RestController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public function updateDocumentAction(Request $request, $subject)
125125
$model = $this->getModelBySubject($request, $subject);
126126
$type = $this->typeFactory->getTypeByObject($model);
127127

128-
$result = $this->restHandler->run($request->request->all(), $type, null, strtolower($request->getMethod()));
128+
$result = $this->restHandler->run($request->request->all(), $type, $subject, strtolower($request->getMethod()));
129129
$view = View::create($result)->setFormat('json');
130130

131131
return $this->viewHandler->handle($view, $request);

0 commit comments

Comments
 (0)