Skip to content

Commit

Permalink
[Bug]: Translation Schema error - expected element.id (#665)
Browse files Browse the repository at this point in the history
* [Bug]: Translation Schema error - expected element.id

* Apply php-cs-fixer changes

Co-authored-by: mcop1 <[email protected]>
  • Loading branch information
mcop1 and mcop1 authored Jan 18, 2023
1 parent 0e49c78 commit c03a1ec
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/GraphQL/TranslationType/TranslationType.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
use Pimcore\Bundle\DataHubBundle\GraphQL\Service;
use Pimcore\Bundle\DataHubBundle\GraphQL\SharedType\JsonType;
use Pimcore\Bundle\DataHubBundle\GraphQL\Traits\ServiceTrait;
use Pimcore\Bundle\DataHubBundle\GraphQL\TypeInterface\Element;

class TranslationType extends ObjectType
{
Expand All @@ -33,7 +32,6 @@ class TranslationType extends ObjectType
*/
public function __construct(Service $graphQlService, array $config = ['name' => 'translation'])
{
$config['interfaces'] = [Element::getInstance()];
$this->setGraphQLService($graphQlService);
$this->build($config);
parent::__construct($config);
Expand Down

0 comments on commit c03a1ec

Please sign in to comment.