bach před 2 roky
rodič
revize
19f52617ce

+ 2 - 2
src/web/modules/custom/enfrancais_graphql/src/Plugin/GraphQL/SchemaExtension/EnFrSchemaExtension.php

@@ -363,7 +363,7 @@ class EnFrSchemaExtension extends SdlSchemaExtensionPluginBase {
       $builder->produce('property_path')
         ->map('type', $builder->fromValue('entity:node'))
         ->map('value', $builder->fromParent())
-        ->map('path', $builder->fromValue('field_video'))
+        ->map('path', $builder->fromValue('field_videos'))
       );
 
     $registry->addFieldResolver('Textref', 'tags',
@@ -522,7 +522,7 @@ class EnFrSchemaExtension extends SdlSchemaExtensionPluginBase {
       $builder->produce('property_path')
         ->map('type', $builder->fromValue('entity:node'))
         ->map('value', $builder->fromParent())
-        ->map('path', $builder->fromValue('field_video'))
+        ->map('path', $builder->fromValue('field_videos'))
       );
 
     $registry->addFieldResolver('Textprod', 'tagsprod',