Skip to content

Commit

Permalink
Ran formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
postmeback committed Aug 1, 2024
1 parent 460563d commit bdf0b29
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Meilisearch/Converters/TaskInfoTypeConverter.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.Json.Serialization;
using System.Text.Json;
using System.Text.Json.Serialization;

namespace Meilisearch.Converters
{
Expand All @@ -12,7 +12,7 @@ public override TaskInfoType Read(ref Utf8JsonReader reader, Type typeToConvert,
{
if (reader.TokenType == JsonTokenType.String)
{
string enumValue = reader.GetString();
var enumValue = reader.GetString();
if (Enum.TryParse<TaskInfoType>(enumValue, true, out var taskInfoType))
{
return taskInfoType;
Expand Down
1 change: 1 addition & 0 deletions src/Meilisearch/TaskInfo.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;

using Meilisearch.Converters;

namespace Meilisearch
Expand Down

0 comments on commit bdf0b29

Please sign in to comment.