mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 11:44:56 +00:00
Media Controller Tests and other
This commit is contained in:
@@ -102,7 +102,7 @@ public class MediaController : Controller
|
||||
|
||||
var media = await _mediaService.GetMediaByIdAsync(id);
|
||||
|
||||
return File(media.Data, media.MineType, Path.GetFileName(media.FileName));
|
||||
return File(media.Data, media.MimeType, Path.GetFileName(media.FileName));
|
||||
}
|
||||
catch (KeyNotFoundException ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user