mirror of
https://github.com/D4M13N-D3V/comissions-app-core-api.git
synced 2025-03-14 01:54:55 +00:00
fix: conten ttypes
This commit is contained in:
parent
5907777adc
commit
498a3f28a5
@ -86,8 +86,7 @@ public class ArtistRequestsController: Controller
|
||||
if(reference==null)
|
||||
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");
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
@ -143,8 +142,7 @@ public class ArtistRequestsController: Controller
|
||||
if(reference==null)
|
||||
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");
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user