set anchoring proof download response content type
This commit is contained in:
parent
cbbd11e5e4
commit
532543fe5e
@ -56,6 +56,7 @@ export default class OfficeFoldersController extends ApiController {
|
|||||||
const sortedHashes = [...folderHashes].sort();
|
const sortedHashes = [...folderHashes].sort();
|
||||||
const buffer = await this.secureService.download(sortedHashes);
|
const buffer = await this.secureService.download(sortedHashes);
|
||||||
|
|
||||||
|
response.setHeader('Content-Type', 'application/pdf');
|
||||||
this.httpSuccess(response, buffer);
|
this.httpSuccess(response, buffer);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
this.httpInternalError(response, error);
|
this.httpInternalError(response, error);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user