phonepe #30
@ -7,7 +7,7 @@ import { sendEmailWithAttachmentUtil } from "../../../utils/emailService";
|
|||||||
import * as pdfMake from 'pdfmake/build/pdfmake';
|
import * as pdfMake from 'pdfmake/build/pdfmake';
|
||||||
import * as pdfFonts from 'pdfmake/build/vfs_fonts';
|
import * as pdfFonts from 'pdfmake/build/vfs_fonts';
|
||||||
|
|
||||||
(pdfMake as any).vfs = pdfFonts.vfs;
|
(pdfMake as any).vfs = (pdfFonts as any).pdfMake ? (pdfFonts as any).pdfMake.vfs : pdfFonts.vfs;
|
||||||
|
|
||||||
const admin = getAdmin();
|
const admin = getAdmin();
|
||||||
const logger = getLogger();
|
const logger = getLogger();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user