mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-30 22:06:29 +01:00
rename methods
This commit is contained in:
@@ -61,7 +61,7 @@ namespace Emby.Server.Implementations.Social
|
||||
var commandText = "replace into Shares (Id, ItemId, UserId, ExpirationDate) values (?, ?, ?, ?)";
|
||||
|
||||
db.Execute(commandText,
|
||||
info.Id.ToGuidParamValue(),
|
||||
info.Id.ToGuidBlob(),
|
||||
info.ItemId,
|
||||
info.UserId,
|
||||
info.ExpirationDate.ToDateTimeParamValue());
|
||||
@@ -84,7 +84,7 @@ namespace Emby.Server.Implementations.Social
|
||||
var commandText = "select Id, ItemId, UserId, ExpirationDate from Shares where id = ?";
|
||||
|
||||
var paramList = new List<object>();
|
||||
paramList.Add(id.ToGuidParamValue());
|
||||
paramList.Add(id.ToGuidBlob());
|
||||
|
||||
foreach (var row in connection.Query(commandText, paramList.ToArray()))
|
||||
{
|
||||
@@ -100,7 +100,7 @@ namespace Emby.Server.Implementations.Social
|
||||
{
|
||||
var info = new SocialShareInfo();
|
||||
|
||||
info.Id = reader[0].ReadGuid().ToString("N");
|
||||
info.Id = reader[0].ReadGuidFromBlob().ToString("N");
|
||||
info.ItemId = reader[1].ToString();
|
||||
info.UserId = reader[2].ToString();
|
||||
info.ExpirationDate = reader[3].ReadDateTime();
|
||||
|
||||
Reference in New Issue
Block a user