1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-07-15 00:57:36 +02:00

Avoid returning null in static resource mapper Task

This commit is contained in:
Bogdan 2023-09-19 20:15:59 +03:00
parent 2fcbac49c7
commit f20c260a4f

View File

@ -50,7 +50,7 @@ public Task<IActionResult> GetResponse(string resourceUrl)
_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)