From 34da0bb7d79699bf67ab6f5325e15b6a74066147 Mon Sep 17 00:00:00 2001 From: Hisham Bin Ateya Date: Sun, 26 May 2024 12:38:15 +0300 Subject: [PATCH] Remove extra comma --- .../GraphQL/LuceneQueryFieldTypeProvider.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/OrchardCore.Modules/OrchardCore.Search.Lucene/GraphQL/LuceneQueryFieldTypeProvider.cs b/src/OrchardCore.Modules/OrchardCore.Search.Lucene/GraphQL/LuceneQueryFieldTypeProvider.cs index bd1e655553f..c5d269aebb5 100644 --- a/src/OrchardCore.Modules/OrchardCore.Search.Lucene/GraphQL/LuceneQueryFieldTypeProvider.cs +++ b/src/OrchardCore.Modules/OrchardCore.Search.Lucene/GraphQL/LuceneQueryFieldTypeProvider.cs @@ -85,7 +85,7 @@ public async Task BuildAsync(ISchema schema) private static FieldType BuildSchemaBasedFieldType(LuceneQuery query, JsonNode querySchema, string fieldTypeName) { - var properties = querySchema["properties"].AsObject(); ; + var properties = querySchema["properties"].AsObject(); if (properties == null) { return null; @@ -199,9 +199,9 @@ async ValueTask ResolveAsync(IResolveFieldContext context) var parameters = context.GetArgument("parameters"); - var queryParameters = parameters != null ? - JConvert.DeserializeObject>(parameters) - : []; + var queryParameters = parameters != null ? + JConvert.DeserializeObject>(parameters) + : []; var result = await queryManager.ExecuteQueryAsync(iquery, queryParameters);