mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-21 08:15:28 +03:00
Use reader.GetString instead of indexing
This commit is contained in:
@@ -1300,7 +1300,7 @@ namespace Emby.Server.Implementations.Data
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
item = _jsonSerializer.DeserializeFromString(reader[1].ToString(), type) as BaseItem;
|
item = _jsonSerializer.DeserializeFromString(reader.GetString(1), type) as BaseItem;
|
||||||
}
|
}
|
||||||
catch (SerializationException ex)
|
catch (SerializationException ex)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user