Skip to content

Instantly share code, notes, and snippets.

Eli Silverman madebycaliper

Block or report user

Report or block madebycaliper

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View routes.api.index.js
// ./routes/api/index.js
// the router is already using /api (see routes/index.js), so this is actually a post to /api/
router.post('/', function(req, res) {
// we have to wrap our *await* commands in
// an async function for them to work
(async () => {
// Generate the PDF
.
.
You can’t perform that action at this time.