diff --git a/backend/package-lock.json b/backend/package-lock.json index 0cbd99f..d5b9091 100644 --- a/backend/package-lock.json +++ b/backend/package-lock.json @@ -24,7 +24,7 @@ "jsonwebtoken": "^9.0.2", "moment": "^2.29.4", "mysql2": "^3.6.5", - "nodemailer": "^6.9.7", + "nodemailer": "^6.9.9", "reflect-metadata": "^0.1.13", "sqlstring": "^2.3.3", "ts-node": "^10.9.1" @@ -4960,9 +4960,9 @@ "dev": true }, "node_modules/nodemailer": { - "version": "6.9.7", - "resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.9.7.tgz", - "integrity": "sha512-rUtR77ksqex/eZRLmQ21LKVH5nAAsVicAtAYudK7JgwenEDZ0UIQ1adUGqErz7sMkWYxWTTU1aeP2Jga6WQyJw==", + "version": "6.9.9", + "resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.9.9.tgz", + "integrity": "sha512-dexTll8zqQoVJEZPwQAKzxxtFn0qTnjdQTchoU6Re9BUUGBJiOy3YMn/0ShTW6J5M0dfQ1NeDeRTTl4oIWgQMA==", "engines": { "node": ">=6.0.0" } diff --git a/backend/package.json b/backend/package.json index 32abc08..4f070bd 100644 --- a/backend/package.json +++ b/backend/package.json @@ -32,7 +32,7 @@ "jsonwebtoken": "^9.0.2", "moment": "^2.29.4", "mysql2": "^3.6.5", - "nodemailer": "^6.9.7", + "nodemailer": "^6.9.9", "reflect-metadata": "^0.1.13", "sqlstring": "^2.3.3", "ts-node": "^10.9.1" diff --git a/backend/src/cron.ts b/backend/src/cron.ts index 6878d77..5d73b03 100644 --- a/backend/src/cron.ts +++ b/backend/src/cron.ts @@ -215,7 +215,9 @@ export class Cron { 'Claim your NFT', 'en-airdrop-claim', { + appUrl: env.APP_URL, link: `${env.APP_URL}/claim?token=${token}`, + claimExpiresIn: env.CLAIM_EXPIRES_IN, } ); } catch (err) {