diff --git a/back/methods/dms/saveSign.js b/back/methods/dms/saveSign.js index d8108da95..06b5b3caf 100644 --- a/back/methods/dms/saveSign.js +++ b/back/methods/dms/saveSign.js @@ -164,14 +164,9 @@ module.exports = Self => { } if (image != null) { - // if the dir does not exist if (!fs.existsSync(dir)) dmsRecover(tickets[i], signContent); else { - // Create the file with the image, - // the name is the variable image, - // the content is the signContent and is in base64 - console.log('image', image); fs.writeFile(image, signContent, 'base64', async function(err) { if (err) { await tx.rollback();