소스 검색

field_videos fix

bach 2 년 전
부모
커밋
19f52617ce
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/web/modules/custom/enfrancais_graphql/src/Plugin/GraphQL/SchemaExtension/EnFrSchemaExtension.php

+ 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',