mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
Add Warning to deprecated DDB node
Move to @wnagele 's version on npm.
This commit is contained in:
parent
3e4c740b24
commit
c1032f9165
@ -21,6 +21,7 @@ var attrWrapper = require("dynamodb-data-types").AttributeValue;
|
||||
|
||||
function DDBOutNode(n) {
|
||||
RED.nodes.createNode(this, n);
|
||||
this.warn("This node has been deprecated and will be deleted in a future release. Please update your flow to use the version from npm. Note: you cannot have both this and the npm version installed at the same time.");
|
||||
this.credentials = RED.nodes.getNode(n.credentials);
|
||||
this.region = n.region || "us-east-1";
|
||||
this.table = n.table;
|
||||
|
Loading…
Reference in New Issue
Block a user