Browse Source

fixed degres_detrangement #1282

bach 2 years ago
parent
commit
50bf022a06

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

@@ -341,7 +341,7 @@ class EnFrSchemaExtension extends SdlSchemaExtensionPluginBase {
       $builder->produce('property_path')
         ->map('type', $builder->fromValue('entity:node'))
         ->map('value', $builder->fromParent())
-        ->map('path', $builder->fromValue('degres_detrangement'))
+        ->map('path', $builder->fromValue('field_degres_detrangement.value'))
       );
 
     $registry->addFieldResolver('Textref', 'field_titre_regular',