Merge Dev in staging (#90)
This commit is contained in:
commit
99e97757ae
@ -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);
|
||||
|
@ -100,9 +100,6 @@ export class BackendVariables {
|
||||
@IsNotEmpty()
|
||||
public readonly DOCAPOST_CONNECT_PROCESS_ID!: string;
|
||||
|
||||
@IsNotEmpty()
|
||||
public readonly BACK_API_HOST!: string;
|
||||
|
||||
@IsNotEmpty()
|
||||
public readonly DOCAPOST_APP_ID!: string;
|
||||
|
||||
@ -143,7 +140,6 @@ export class BackendVariables {
|
||||
this.DOCAPOST_VERSION = process.env["DOCAPOST_VERSION"]!;
|
||||
this.DOCAPOST_DOCUMENT_PROCESS_ID = process.env["DOCAPOST_DOCUMENT_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_PASSWORD = process.env["DOCAPOST_APP_PASSWORD"]!;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user