mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 14:03:03 +03:00
Enable nullable reference types for MediaBrowser.Controller
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user