Skip to content

Commit 95511b4

Browse files
committed
Update blank template to NR1
1 parent 459b2d0 commit 95511b4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

utils/templates/blank/node-type.ts.mustache

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ const nodeInit: NodeInitializer = (RED): void => {
88
): void {
99
RED.nodes.createNode(this, config);
1010
11-
this.on("input", (msg, _send, _done) => {
12-
this.send(msg);
11+
this.on("input", (msg, send, done) => {
12+
send(msg);
13+
done();
1314
});
1415
}
1516

0 commit comments

Comments
 (0)