Merge Dev in staging (#90)

This commit is contained in:
Arnaud D. Natali 2023-09-26 15:47:15 +02:00 committed by GitHub
commit 99e97757ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

View File

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

View File

@ -100,9 +100,6 @@ export class BackendVariables {
@IsNotEmpty() @IsNotEmpty()
public readonly DOCAPOST_CONNECT_PROCESS_ID!: string; public readonly DOCAPOST_CONNECT_PROCESS_ID!: string;
@IsNotEmpty()
public readonly BACK_API_HOST!: string;
@IsNotEmpty() @IsNotEmpty()
public readonly DOCAPOST_APP_ID!: string; public readonly DOCAPOST_APP_ID!: string;
@ -143,7 +140,6 @@ export class BackendVariables {
this.DOCAPOST_VERSION = process.env["DOCAPOST_VERSION"]!; this.DOCAPOST_VERSION = process.env["DOCAPOST_VERSION"]!;
this.DOCAPOST_DOCUMENT_PROCESS_ID = process.env["DOCAPOST_DOCUMENT_PROCESS_ID"]!; this.DOCAPOST_DOCUMENT_PROCESS_ID = process.env["DOCAPOST_DOCUMENT_PROCESS_ID"]!;
this.DOCAPOST_CONNECT_PROCESS_ID = process.env["DOCAPOST_CONNECT_PROCESS_ID"]!; this.DOCAPOST_CONNECT_PROCESS_ID = process.env["DOCAPOST_CONNECT_PROCESS_ID"]!;
this.BACK_API_HOST = process.env["BACK_API_HOST"]!;
this.DOCAPOST_APP_ID = process.env["DOCAPOST_APP_ID"]!; this.DOCAPOST_APP_ID = process.env["DOCAPOST_APP_ID"]!;
this.DOCAPOST_APP_PASSWORD = process.env["DOCAPOST_APP_PASSWORD"]!; this.DOCAPOST_APP_PASSWORD = process.env["DOCAPOST_APP_PASSWORD"]!;