Merge branch 'dev' of github.com:smart-chain-fr/leCoffre into dev

This commit is contained in:
OxSaitama 2023-09-26 15:46:17 +02:00
commit 275c5a0f63

View File

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