Skip to content

Commit

Permalink
Remove extra comma (#16159)
Browse files Browse the repository at this point in the history
  • Loading branch information
hishamco authored May 26, 2024
1 parent 1be0156 commit 9f4229b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -199,9 +199,9 @@ async ValueTask<object> ResolveAsync(IResolveFieldContext<object> context)

var parameters = context.GetArgument<string>("parameters");

var queryParameters = parameters != null ?
JConvert.DeserializeObject<Dictionary<string, object>>(parameters)
: [];
var queryParameters = parameters != null ?
JConvert.DeserializeObject<Dictionary<string, object>>(parameters)
: [];

var result = await queryManager.ExecuteQueryAsync(iquery, queryParameters);

Expand Down

0 comments on commit 9f4229b

Please sign in to comment.