Revert "remove readonly"

This reverts commit e7016e38b8.
This commit is contained in:
Bond_009
2024-06-05 10:34:43 +02:00
parent 47c5e0c2c7
commit 19fb00b5b7
3 changed files with 16 additions and 16 deletions

View File

@@ -267,7 +267,7 @@ namespace Emby.Server.Implementations.Data
ArgumentException.ThrowIfNullOrEmpty(key);
using (var connection = GetConnection())
using (var connection = GetConnection(true))
{
using (var statement = connection.PrepareStatement("select key,userid,rating,played,playCount,isFavorite,playbackPositionTicks,lastPlayedDate,AudioStreamIndex,SubtitleStreamIndex from UserDatas where key =@Key and userId=@UserId"))
{