diff options
| author | JPVenson <github@jpb.email> | 2024-11-11 06:14:08 +0000 |
|---|---|---|
| committer | JPVenson <github@jpb.email> | 2024-11-11 06:14:08 +0000 |
| commit | fb48d0790f4b9be762443d239faaf77057713a51 (patch) | |
| tree | a31e31e9fe158cb92ceb1a3fa21649ba07d72b0b /Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs | |
| parent | 8dbbb3e243a417464e620721bdb6c567c02ee4f8 (diff) | |
Fixed Library DB lookup
Diffstat (limited to 'Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs')
| -rw-r--r-- | Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs b/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs index 5cb89f9ac..571ac95eb 100644 --- a/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs +++ b/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs @@ -292,7 +292,7 @@ public class MigrateLibraryDb : IMigrationRoutine private (UserData? Data, string? LegacyUserDataKey) GetUserData(ImmutableArray<User> users, SqliteDataReader dto) { var indexOfUser = dto.GetInt32(1); - var user = users.ElementAtOrDefault(indexOfUser + 1); + var user = users.ElementAtOrDefault(indexOfUser - 1); if (user is null) { |
