Skip to content

Commit

Permalink
Merge pull request #3 from netlogix/bugfix/return-command-result
Browse files Browse the repository at this point in the history
BUGFIX: Return command result in createAction
  • Loading branch information
stephanschuler authored May 11, 2023
2 parents bcf468b + 5993604 commit 1d4194a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Controller/GenericModelController.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function createAction(WriteModelInterface $resource, $resourceType = '')
if ($result instanceof Error) {
return $this->respondWithError($result);
}
$topLevel = $this->relationshipIterator->createTopLevel($resource);
$topLevel = $this->relationshipIterator->createTopLevel($result);
$this->view->assign('value', $topLevel);
}

Expand Down

0 comments on commit 1d4194a

Please sign in to comment.