From 45a4b8e7b7e1caae1b04edef732a6dfc82a19d15 Mon Sep 17 00:00:00 2001 From: Remon Nashid Date: Thu, 12 Dec 2019 09:25:34 -0800 Subject: [PATCH 1/2] GT-143: rename 'continue' button --- .../pages/account/components/ConfigCard.js | 2 +- testEmail.js | 21 +++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 testEmail.js diff --git a/packages/polymath-issuer/src/pages/account/components/ConfigCard.js b/packages/polymath-issuer/src/pages/account/components/ConfigCard.js index d50c53b08..e82646b4c 100644 --- a/packages/polymath-issuer/src/pages/account/components/ConfigCard.js +++ b/packages/polymath-issuer/src/pages/account/components/ConfigCard.js @@ -8,7 +8,7 @@ export default class TickerCard extends Component { return (
-

Continue to configure security token

+

Configure New Security Token


diff --git a/testEmail.js b/testEmail.js new file mode 100644 index 000000000..bc274b3d7 --- /dev/null +++ b/testEmail.js @@ -0,0 +1,21 @@ +const sgMail = require('@sendgrid/mail'); +const dotenv = require('dotenv'); +dotenv.config(); +console.log(process.env.SENDGRID_API_KEY); +const msg = { + from: { email: 'noreply@polymath.network', name: 'Polymath Network' }, + replyTo: 'noreply@polymath.network', + to: { email: 'remon@polymath.network', name: 'Remon Nashid' }, + subject: 'Hello 2', + html: 'Content2', +}; + +if (process.env.SENDGRID_API_KEY) { + sgMail.setApiKey(process.env.SENDGRID_API_KEY); +} else { + throw new Error('SENDGRID_API_KEY not set'); +} + +(async function() { + await sgMail.send(msg); +})(); From 5d46bb28bfd804436a2fffe76f0bf29c50e4db7a Mon Sep 17 00:00:00 2001 From: Remon Nashid Date: Thu, 12 Dec 2019 09:26:25 -0800 Subject: [PATCH 2/2] Remove testing file --- testEmail.js | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 testEmail.js diff --git a/testEmail.js b/testEmail.js deleted file mode 100644 index bc274b3d7..000000000 --- a/testEmail.js +++ /dev/null @@ -1,21 +0,0 @@ -const sgMail = require('@sendgrid/mail'); -const dotenv = require('dotenv'); -dotenv.config(); -console.log(process.env.SENDGRID_API_KEY); -const msg = { - from: { email: 'noreply@polymath.network', name: 'Polymath Network' }, - replyTo: 'noreply@polymath.network', - to: { email: 'remon@polymath.network', name: 'Remon Nashid' }, - subject: 'Hello 2', - html: 'Content2', -}; - -if (process.env.SENDGRID_API_KEY) { - sgMail.setApiKey(process.env.SENDGRID_API_KEY); -} else { - throw new Error('SENDGRID_API_KEY not set'); -} - -(async function() { - await sgMail.send(msg); -})();