aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Json
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2021-02-23 14:14:02 +0100
committerBond_009 <bond.009@outlook.com>2021-02-23 14:14:02 +0100
commitaff0aea60fc52a2253f04749f11bcb02f6e1f67c (patch)
tree12a92233384e739ef0e45af50cca52be035f6e44 /MediaBrowser.Common/Json
parent92e5a5c6e8a81c3d604a943628fcb56f3778b042 (diff)
Improve branch coverage
Diffstat (limited to 'MediaBrowser.Common/Json')
-rw-r--r--MediaBrowser.Common/Json/Converters/JsonOmdbNotAvailableInt32Converter.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Common/Json/Converters/JsonOmdbNotAvailableInt32Converter.cs b/MediaBrowser.Common/Json/Converters/JsonOmdbNotAvailableInt32Converter.cs
index cb3d83f58..3d97a9de5 100644
--- a/MediaBrowser.Common/Json/Converters/JsonOmdbNotAvailableInt32Converter.cs
+++ b/MediaBrowser.Common/Json/Converters/JsonOmdbNotAvailableInt32Converter.cs
@@ -25,7 +25,7 @@ namespace MediaBrowser.Common.Json.Converters
return (int?)converter.ConvertFromString(str);
}
- return JsonSerializer.Deserialize<int?>(ref reader, options);
+ return JsonSerializer.Deserialize<int>(ref reader, options);
}
/// <inheritdoc />