Skip to content

Commit 45a4b8e

Browse files
committed
GT-143: rename 'continue' button
1 parent 5ea284d commit 45a4b8e

2 files changed

Lines changed: 22 additions & 1 deletion

File tree

packages/polymath-issuer/src/pages/account/components/ConfigCard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default class TickerCard extends Component {
88
return (
99
<div className="token-symbol-wrapper">
1010
<div className="pui-page-box">
11-
<h3>Continue to configure security token</h3>
11+
<h3>Configure New Security Token</h3>
1212
<div style={{ height: '140px' }} />
1313
<br />
1414
<Link to="/ticker">

testEmail.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
const sgMail = require('@sendgrid/mail');
2+
const dotenv = require('dotenv');
3+
dotenv.config();
4+
console.log(process.env.SENDGRID_API_KEY);
5+
const msg = {
6+
from: { email: 'noreply@polymath.network', name: 'Polymath Network' },
7+
replyTo: 'noreply@polymath.network',
8+
to: { email: 'remon@polymath.network', name: 'Remon Nashid' },
9+
subject: 'Hello 2',
10+
html: '<html>Content2</html>',
11+
};
12+
13+
if (process.env.SENDGRID_API_KEY) {
14+
sgMail.setApiKey(process.env.SENDGRID_API_KEY);
15+
} else {
16+
throw new Error('SENDGRID_API_KEY not set');
17+
}
18+
19+
(async function() {
20+
await sgMail.send(msg);
21+
})();

0 commit comments

Comments
 (0)