mirror of https://github.com/Radarr/Radarr
Avoid returning null in static resource mapper Task
This commit is contained in:
parent
2fcbac49c7
commit
f20c260a4f
|
@ -50,7 +50,7 @@ namespace Radarr.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…
Reference in New Issue