aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Data/SqliteItemRepository.cs
diff options
context:
space:
mode:
authorcvium <clausvium@gmail.com>2021-04-30 23:35:29 +0200
committercvium <clausvium@gmail.com>2021-04-30 23:35:29 +0200
commit716cbb06958da987ab917c1f6408396d4ace7a0c (patch)
treebaea7b2993a6a0f6ca29f1399274af58df687648 /Emby.Server.Implementations/Data/SqliteItemRepository.cs
parentba2e346d1246cc51e186a64d38a9b7385492ca4f (diff)
remove span based setproviderid
Diffstat (limited to 'Emby.Server.Implementations/Data/SqliteItemRepository.cs')
-rw-r--r--Emby.Server.Implementations/Data/SqliteItemRepository.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Data/SqliteItemRepository.cs b/Emby.Server.Implementations/Data/SqliteItemRepository.cs
index 7cee309d0..e78ebbc50 100644
--- a/Emby.Server.Implementations/Data/SqliteItemRepository.cs
+++ b/Emby.Server.Implementations/Data/SqliteItemRepository.cs
@@ -1012,7 +1012,7 @@ namespace Emby.Server.Implementations.Data
var providerDelimiterIndex = part.IndexOf('=');
if (providerDelimiterIndex != -1 && providerDelimiterIndex == part.LastIndexOf('='))
{
- item.SetProviderId(part.Slice(0, providerDelimiterIndex), part.Slice(providerDelimiterIndex + 1));
+ item.SetProviderId(part.Slice(0, providerDelimiterIndex).ToString(), part.Slice(providerDelimiterIndex + 1).ToString());
}
}
}