remove console.log
parent
ca853c64b7
commit
539ab54e85
|
|
@ -26,7 +26,6 @@ export async function handler(request, response, next) {
|
|||
return;
|
||||
}
|
||||
const reportData = await getReportData(printConfig, request.query);
|
||||
console.log(reportData);
|
||||
const reportPath = path.join('views', 'print', 'pdf', printName + '.ejs');
|
||||
function pdfCallbackFunction(pdf) {
|
||||
response.setHeader('Content-Disposition', `${attachmentOrInline}; filename=${camelcase(printConfig.title)}.pdf`);
|
||||
|
|
|
|||
|
|
@ -53,8 +53,6 @@ export async function handler(
|
|||
|
||||
const reportData = await getReportData(printConfig, request.query)
|
||||
|
||||
console.log(reportData)
|
||||
|
||||
const reportPath = path.join('views', 'print', 'pdf', printName + '.ejs')
|
||||
|
||||
function pdfCallbackFunction(pdf: Buffer): void {
|
||||
|
|
|
|||
Loading…
Reference in New Issue