1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2025-01-03 05:35:29 +00:00

Avoid returning null in static resource mapper Task

This commit is contained in:
Bogdan 2023-09-19 20:12:30 +03:00 committed by Mark McDowall
parent 0544011177
commit a1ea7accb3

View file

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