diff options
| author | JPVenson <github@jpb.email> | 2024-10-09 23:55:28 +0000 |
|---|---|---|
| committer | JPVenson <github@jpb.email> | 2024-10-09 23:55:28 +0000 |
| commit | fe9c96d052d6815f0d32833711a865c2f33d9999 (patch) | |
| tree | 861848d588bdc03aad62bf47eceddeff6ef969e6 /Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs | |
| parent | 4c86642c006d768c672de07f0efb40efb462ea24 (diff) | |
Used enum value for ItemValueType
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 be5dd0ce0..85d537380 100644 --- a/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs +++ b/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs @@ -227,7 +227,7 @@ public class MigrateLibraryDb : IMigrationRoutine return new ItemValue { ItemId = reader.GetGuid(0), - Type = reader.GetInt32(1), + Type = (ItemValueType)reader.GetInt32(1), Value = reader.GetString(2), CleanValue = reader.GetString(3), Item = null! |
