Fix api/v3/mediacover route

This commit is contained in:
ta264 2021-10-26 21:12:53 +01:00
parent 4b06f6b506
commit ae5c7a3ace
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ namespace Radarr.Api.V3.MediaCovers
_mimeTypeProvider = new FileExtensionContentTypeProvider();
}
[HttpGet(@"author/{movieId:int}/{filename:regex((.+)\.(jpg|png|gif))}")]
[HttpGet(@"{movieId:int}/{filename:regex((.+)\.(jpg|png|gif))}")]
public IActionResult GetMediaCover(int movieId, string filename)
{
var filePath = Path.Combine(_appFolderInfo.GetAppDataPath(), "MediaCover", movieId.ToString(), filename);