1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-27 18:30:45 +00:00

Fix namespace for StringConverter

This commit is contained in:
Qstick 2020-08-16 01:19:23 -04:00
parent 0ef9d28a73
commit 547c044dc6
2 changed files with 19 additions and 15 deletions

View file

@ -2,6 +2,8 @@
using System.Text.Json; using System.Text.Json;
using System.Text.Json.Serialization; using System.Text.Json.Serialization;
namespace NzbDrone.Core.Datastore.Converters
{
public class StringConverter : JsonConverter<string> public class StringConverter : JsonConverter<string>
{ {
public override string Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) public override string Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
@ -24,3 +26,4 @@ public override void Write(Utf8JsonWriter writer, string value, JsonSerializerOp
writer.WriteStringValue(value); writer.WriteStringValue(value);
} }
} }
}

View file

@ -5,6 +5,7 @@
using Dapper; using Dapper;
using FluentMigrator; using FluentMigrator;
using NzbDrone.Common.Extensions; using NzbDrone.Common.Extensions;
using NzbDrone.Core.Datastore.Converters;
using NzbDrone.Core.Datastore.Migration.Framework; using NzbDrone.Core.Datastore.Migration.Framework;
namespace NzbDrone.Core.Datastore.Migration namespace NzbDrone.Core.Datastore.Migration