fix mysql node error scope
This commit is contained in:
parent
7a5c39ce7b
commit
a7b9380f25
|
@ -180,7 +180,7 @@ module.exports = function(RED) {
|
|||
});
|
||||
}
|
||||
else {
|
||||
node.error(RED._("mysql.errors.notconfigured"));
|
||||
this.error(RED._("mysql.errors.notconfigured"));
|
||||
}
|
||||
}
|
||||
RED.nodes.registerType("mysql",MysqlDBNodeIn);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "node-red-node-mysql",
|
||||
"version": "1.0.2",
|
||||
"version": "1.0.3",
|
||||
"description": "A Node-RED node to read and write to a MySQL database",
|
||||
"dependencies": {
|
||||
"mysql2": "^2.3.3"
|
||||
|
|
Loading…
Reference in New Issue