Skip to content

Commit

Permalink
switch pdf-puppeteer
Browse files Browse the repository at this point in the history
  • Loading branch information
dangowans committed Nov 1, 2023
1 parent 374469c commit 3611f6c
Show file tree
Hide file tree
Showing 4 changed files with 216 additions and 980 deletions.
2 changes: 1 addition & 1 deletion handlers/licences-get/print.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as configFunctions from "../../helpers/functions.config.js";
import { getOrganization } from "../../helpers/licencesDB/getOrganization.js";
import { getLicence } from "../../helpers/licencesDB/getLicence.js";
import { getLicenceTicketTypeSummary } from "../../helpers/licencesDB/getLicenceTicketTypeSummary.js";
import convertHTMLToPDF from "pdf-puppeteer";
import convertHTMLToPDF from "@cityssm/pdf-puppeteer";
const urlPrefix = configFunctions.getProperty("reverseProxy.urlPrefix");
const printTemplate = configFunctions.getProperty("licences.printTemplate");
const __dirname = ".";
Expand Down
2 changes: 1 addition & 1 deletion handlers/licences-get/print.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { getOrganization } from "../../helpers/licencesDB/getOrganization.js";
import { getLicence } from "../../helpers/licencesDB/getLicence.js";
import { getLicenceTicketTypeSummary } from "../../helpers/licencesDB/getLicenceTicketTypeSummary.js";

import convertHTMLToPDF from "pdf-puppeteer";
import convertHTMLToPDF from "@cityssm/pdf-puppeteer";


const urlPrefix = configFunctions.getProperty("reverseProxy.urlPrefix");
Expand Down
Loading

0 comments on commit 3611f6c

Please sign in to comment.