Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.end(function(err, response) {
client.convertHtml(response.text, pdf.sendHttpResponse(res, null, uid + ".pdf"), {
use_print_media: "true"
});
});
.end(function(err, response) {
client.convertHtml(response.text, pdf.sendHttpResponse(res), {
use_print_media: "true"
});
});
});