mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-04-24 05:47:22 -04:00
Avoid returning null in static resource mapper Task
This commit is contained in:
parent
4c8b0c9eec
commit
9869c2272a
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ namespace Prowlarr.Http.Frontend.Mappers
|
|||
|
||||
_logger.Warn("File {0} not found", filePath);
|
||||
|
||||
return null;
|
||||
return Task.FromResult<FileStreamResult>(null);
|
||||
}
|
||||
|
||||
protected virtual Stream GetContentStream(string filePath)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue