mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Who thought it be a good idea to let indexes start 1 one please step forward!!!
This commit is contained in:
parent
cec4ad9b65
commit
b5bb2261bc
@ -282,7 +282,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);
|
||||
var user = users.ElementAtOrDefault(indexOfUser - 1);
|
||||
|
||||
if (user is null)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user