Merge branch 'dev' of github.com:smart-chain-fr/leCoffre into dev
This commit is contained in:
commit
275c5a0f63
@ -56,6 +56,7 @@ export default class OfficeFoldersController extends ApiController {
|
||||
const sortedHashes = [...folderHashes].sort();
|
||||
const buffer = await this.secureService.download(sortedHashes);
|
||||
|
||||
response.setHeader('Content-Type', 'application/pdf');
|
||||
this.httpSuccess(response, buffer);
|
||||
} catch (error) {
|
||||
this.httpInternalError(response, error);
|
||||
|
Loading…
x
Reference in New Issue
Block a user