diff --git a/src/plugins/worker/handlers.js b/src/plugins/worker/handlers.js index 6f5e638..031b746 100644 --- a/src/plugins/worker/handlers.js +++ b/src/plugins/worker/handlers.js @@ -20,6 +20,8 @@ Handlebars.registerHelper('eq', (a,b) => { module.exports = { GenerateFromTemplate: app => async ({ data, callback }) => { try { + console.log('certificateTemplate: ', data.template) + const { bucketName } = await app.mongo.db .collection('clients') .findOne({ @@ -90,6 +92,8 @@ module.exports = { }, GenerateFromLayout: app => async data => { try { + console.log('certificateLayout: ',data.layoutId) + const { bucketName } = await app.mongo.db .collection('clients') .findOne({