Re-add support for API keys

This commit is contained in:
Patrick Barron
2021-06-18 18:26:58 -04:00
parent 0292936c65
commit 336ba2879f
6 changed files with 22 additions and 10 deletions

View File

@@ -61,7 +61,7 @@ namespace Jellyfin.Server.Migrations.Routines
{
dbContext.ApiKeys.Add(new ApiKey(row[3].ToString())
{
AccessToken = row[1].ToGuid(),
AccessToken = row[1].ToString(),
DateCreated = row[9].ToDateTime(),
DateLastActivity = row[10].ToDateTime()
});