mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-29 19:28:27 -07:00
Avoid returning null in static resource mapper Task
(cherry picked from commit a1ea7accb32bc72f61ed4531d109f76fad843939)
This commit is contained in:
parent
7941ca58a5
commit
4fc95a7fb4
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ namespace Lidarr.Http.Frontend.Mappers
|
||||||
|
|
||||||
_logger.Warn("File {0} not found", filePath);
|
_logger.Warn("File {0} not found", filePath);
|
||||||
|
|
||||||
return null;
|
return Task.FromResult<IActionResult>(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected virtual Stream GetContentStream(string filePath)
|
protected virtual Stream GetContentStream(string filePath)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue