Avoid returning null in static resource mapper Task

This commit is contained in:
Bogdan
2023-09-19 20:17:05 +03:00
parent 4c8b0c9eec
commit 9869c2272a

View File

@@ -50,7 +50,7 @@ namespace Prowlarr.Http.Frontend.Mappers
_logger.Warn("File {0} not found", filePath); _logger.Warn("File {0} not found", filePath);
return null; return Task.FromResult<FileStreamResult>(null);
} }
protected virtual Stream GetContentStream(string filePath) protected virtual Stream GetContentStream(string filePath)