Removed test lines duh
This commit is contained in:
parent
fba0d48e04
commit
75f5f6017d
|
@ -23,8 +23,6 @@ export class ReportRouter {
|
||||||
"text": req.body.msg.text,
|
"text": req.body.msg.text,
|
||||||
"html": req.body.msg.html
|
"html": req.body.msg.html
|
||||||
};
|
};
|
||||||
var x = config.mailgunApiKey;
|
|
||||||
var y = config.mailgunDomain;
|
|
||||||
const mg = mailgun({ apiKey: config.mailgunApiKey, domain: config.mailgunDomain });
|
const mg = mailgun({ apiKey: config.mailgunApiKey, domain: config.mailgunDomain });
|
||||||
await mg.messages().send(data, (error, body) => {
|
await mg.messages().send(data, (error, body) => {
|
||||||
if (error) console.log(error)
|
if (error) console.log(error)
|
||||||
|
|
Loading…
Reference in New Issue