env test
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2022-10-17 12:12:10 +02:00
parent c637f2c879
commit aef47d46b1
1 changed files with 2 additions and 1 deletions

View File

@ -71,7 +71,8 @@ module.exports = Self => {
const newParams = Object.assign({}, queueParams, sendParams);
const email = new Email(queueName, newParams);
await email.send();
if (process.env.NODE_ENV != 'test')
await email.send();
await queue.updateAttribute('status', statusSent);
} catch (error) {