fix: conten ttypes

This commit is contained in:
Damien Ostler 2024-03-01 23:51:57 -05:00
parent 5907777adc
commit 498a3f28a5

View File

@ -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");
}