UNPKG
@cgignite/ignite-sendgrid
Version:
latest (1.0.1)
1.0.1
1.0.0
Send Grid node allows you to send email within your Ignite APIs and apps via Send Grid
@cgignite/ignite-sendgrid
/
lib
/
send-grid-config.js
15 lines
•
361 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module
.
exports
=
function
(
RED
) {
function
sendGridConfig
(
n
) {
RED
.
nodes
.
createNode
(
this
, n);
this
.
name
= n.
name
;
this
.
templateid
= n.
templateid
;
this
.
from
= n.
from
; }
RED
.
nodes
.
registerType
(
"send-grid-config"
, sendGridConfig, {
credentials
: {
apikey
: {
value
:
""
}, } }); };