diff options
| author | Bond-009 <bond.009@outlook.com> | 2024-11-16 18:11:01 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-16 10:11:01 -0700 |
| commit | ceb850c77052c465af8422dcf152f1d1d1530457 (patch) | |
| tree | 03596036aa41f2927ec5efc9d94cf99917d66fdf /Jellyfin.Api/Controllers/ItemUpdateController.cs | |
| parent | 5e8c0fe40c0eb4c29b0f11cdf397c9880708e74b (diff) | |
Update projects to .NET 9 (#13023)
Diffstat (limited to 'Jellyfin.Api/Controllers/ItemUpdateController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/ItemUpdateController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/ItemUpdateController.cs b/Jellyfin.Api/Controllers/ItemUpdateController.cs index 4001a6add..d49e0753e 100644 --- a/Jellyfin.Api/Controllers/ItemUpdateController.cs +++ b/Jellyfin.Api/Controllers/ItemUpdateController.cs @@ -457,7 +457,7 @@ public class ItemUpdateController : BaseJellyfinApiController return null; } - return (SeriesStatus)Enum.Parse(typeof(SeriesStatus), item.Status, true); + return Enum.Parse<SeriesStatus>(item.Status, true); } private DateTime NormalizeDateTime(DateTime val) |
