From fe9c96d052d6815f0d32833711a865c2f33d9999 Mon Sep 17 00:00:00 2001 From: JPVenson Date: Wed, 9 Oct 2024 23:55:28 +0000 Subject: Used enum value for ItemValueType --- Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Jellyfin.Server/Migrations') diff --git a/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs b/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs index be5dd0ce0f..85d537380b 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! -- cgit v1.2.3