mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Avoid returning null in static resource mapper Task
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user