Used enum value for ItemValueType

This commit is contained in:
JPVenson
2024-10-09 23:55:28 +00:00
parent 4c86642c00
commit fe9c96d052
4 changed files with 77 additions and 58 deletions

View File

@@ -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!