mirror of
https://github.com/D4M13N-D3V/comissions-app-core-api.git
synced 2025-03-14 10:04:55 +00:00
fix
This commit is contained in:
parent
5ad5271d5a
commit
3048fbbdbf
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user