This commit is contained in:
Damien Ostler 2024-03-01 21:48:17 -05:00
parent 5ad5271d5a
commit 3048fbbdbf

View File

@ -822,7 +822,6 @@ public class CustomerRequestsController : Controller
if(reference==null) if(reference==null)
return NotFound(); return NotFound();
var content = await _storageService.DownloadImageAsync(reference.FileReference); var content = await _storageService.DownloadImageAsync(reference.FileReference);
var mimeType = _storageService.GetMimeType(reference.FileReference);
return new FileStreamResult(content, "application/octet-stream"); return new FileStreamResult(content, "application/octet-stream");
} }
@ -912,7 +911,6 @@ public class CustomerRequestsController : Controller
if(reference==null) if(reference==null)
return NotFound(); return NotFound();
var content = await _storageService.DownloadImageAsync(reference.FileReference); var content = await _storageService.DownloadImageAsync(reference.FileReference);
var mimeType = _storageService.GetMimeType(reference.FileReference);
return new FileStreamResult(content, "application/octet-stream"); return new FileStreamResult(content, "application/octet-stream");
} }
#endregion #endregion