diff options
| author | Bond-009 <bond.009@outlook.com> | 2021-05-07 14:09:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-07 14:09:12 +0200 |
| commit | a3c9edde347122437e988aac9eb5dacb08f0c345 (patch) | |
| tree | 7152a38c3fd4ffdfa8d39ca2c1a28d01113f43b7 /Jellyfin.Api/Controllers/LibraryController.cs | |
| parent | a4a3f598af92c7e62a920c4a2eb4f89081c13648 (diff) | |
| parent | 4367b97a54f31233e242ef1afe6714b934ecf4d9 (diff) | |
Merge pull request #6000 from Bond-009/nullable2
Diffstat (limited to 'Jellyfin.Api/Controllers/LibraryController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/LibraryController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/LibraryController.cs b/Jellyfin.Api/Controllers/LibraryController.cs index 1d4bbe61e..4ed15e1d5 100644 --- a/Jellyfin.Api/Controllers/LibraryController.cs +++ b/Jellyfin.Api/Controllers/LibraryController.cs @@ -600,7 +600,7 @@ namespace Jellyfin.Api.Controllers { foreach (var item in dto.Updates) { - _libraryMonitor.ReportFileSystemChanged(item.Path); + _libraryMonitor.ReportFileSystemChanged(item.Path ?? throw new ArgumentException("Item path can't be null.")); } return NoContent(); |
