aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Data/SqliteUserDataRepository.cs
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2022-02-16 20:47:33 -0700
committerGitHub <noreply@github.com>2022-02-16 20:47:33 -0700
commit7ccf7e6157d2e15df6ca11711d7906b8f777151e (patch)
tree8be43a8137fb2b96859c50552f873b7714c2b3c8 /Emby.Server.Implementations/Data/SqliteUserDataRepository.cs
parent9930efec2208cb1756eff3eb181044d6f6f3e3da (diff)
parent23ea14aa274a6f3ba440a31a6a5b315bd8fcc094 (diff)
Merge pull request #7322 from Bond-009/db2
Diffstat (limited to 'Emby.Server.Implementations/Data/SqliteUserDataRepository.cs')
-rw-r--r--Emby.Server.Implementations/Data/SqliteUserDataRepository.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/Emby.Server.Implementations/Data/SqliteUserDataRepository.cs b/Emby.Server.Implementations/Data/SqliteUserDataRepository.cs
index 9d4c21e01..ba86dc156 100644
--- a/Emby.Server.Implementations/Data/SqliteUserDataRepository.cs
+++ b/Emby.Server.Implementations/Data/SqliteUserDataRepository.cs
@@ -26,9 +26,6 @@ namespace Emby.Server.Implementations.Data
DbFilePath = Path.Combine(appPaths.DataPath, "library.db");
}
- /// <inheritdoc />
- public string Name => "SQLite";
-
/// <summary>
/// Opens the connection to the database.
/// </summary>
@@ -102,7 +99,7 @@ namespace Emby.Server.Implementations.Data
continue;
}
- statement.TryBind("@UserId", user.Id.ToByteArray());
+ statement.TryBind("@UserId", user.Id);
statement.TryBind("@InternalUserId", user.InternalId);
statement.MoveNext();