diff --git a/src/lib/Schema/Domain/Content/Worker/ContentType/DefineItemMutation.php b/src/lib/Schema/Domain/Content/Worker/ContentType/DefineItemMutation.php index 779aaeb..12b426c 100644 --- a/src/lib/Schema/Domain/Content/Worker/ContentType/DefineItemMutation.php +++ b/src/lib/Schema/Domain/Content/Worker/ContentType/DefineItemMutation.php @@ -37,7 +37,7 @@ public function work(Builder $schema, array $args) $this->getNameHelper()->itemName($contentType) . '!', [ 'resolve' => sprintf( - '@=mutation("CreateDomainContent", [args["input"], "%s", args["parentLocationId"], args["language"]])', + '@=mutation("CreateDomainContent", args["input"], "%s", args["parentLocationId"], args["language"])', $contentType->identifier ), ] ) @@ -69,7 +69,7 @@ public function work(Builder $schema, array $args) new Builder\Input\Field( $this->getUpdateField($contentType), $this->getNameHelper()->itemName($contentType) . '!', - ['resolve' => '@=mutation("UpdateDomainContent", [args["input"], args, args["versionNo"], args["language"]])'] + ['resolve' => '@=mutation("UpdateDomainContent", args["input"], args, args["versionNo"], args["language"])'] ) );