This commit is contained in:
Damien Ostler 2024-03-01 21:44:16 -05:00
parent 9c34c23791
commit 5ad5271d5a

View File

@ -823,7 +823,7 @@ public class CustomerRequestsController : Controller
return NotFound();
var content = await _storageService.DownloadImageAsync(reference.FileReference);
var mimeType = _storageService.GetMimeType(reference.FileReference);
return new FileStreamResult(content, mimeType);
return new FileStreamResult(content, "application/octet-stream");
}
[HttpPost]
@ -913,7 +913,7 @@ public class CustomerRequestsController : Controller
return NotFound();
var content = await _storageService.DownloadImageAsync(reference.FileReference);
var mimeType = _storageService.GetMimeType(reference.FileReference);
return new FileStreamResult(content, mimeType);
return new FileStreamResult(content, "application/octet-stream");
}
#endregion