mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-20 21:54:58 -04:00
Avoid returning null in static resource mapper Task
This commit is contained in:
@@ -50,7 +50,7 @@ namespace Sonarr.Http.Frontend.Mappers
|
||||
|
||||
_logger.Warn("File {0} not found", filePath);
|
||||
|
||||
return null;
|
||||
return Task.FromResult<IActionResult>(null);
|
||||
}
|
||||
|
||||
protected virtual Stream GetContentStream(string filePath)
|
||||
|
||||
Reference in New Issue
Block a user