closes #3681 move-sign_save-to-salix #1151

Merged
joan merged 16 commits from 3681-move-sign_save-to-salix into dev 2022-12-22 12:44:02 +00:00
1 changed files with 0 additions and 5 deletions
Showing only changes of commit 7038d67d94 - Show all commits

View File

@ -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();