Skip to content

Commit d8b9bbe

Browse files
committed
Fix environnement variable name
1 parent aec5133 commit d8b9bbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/collection-api/logger.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ if (config.get('@opentermsarchive/engine.logger.sendMailOnError')) {
1717
from: config.get('@opentermsarchive/engine.logger.sendMailOnError.from'),
1818
host: config.get('@opentermsarchive/engine.logger.smtp.host'),
1919
username: config.get('@opentermsarchive/engine.logger.smtp.username'),
20-
password: process.env.SMTP_PASSWORD,
20+
password: process.env.OTA_ENGINE_SMTP_PASSWORD,
2121
ssl: true,
2222
timeout: 30 * 1000,
2323
formatter: args => args[Object.getOwnPropertySymbols(args)[1]], // Returns the full error message, the same visible in the console. It is referenced in the argument object with a Symbol of which we do not have the reference but we know it is the second one.

0 commit comments

Comments
 (0)