1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00

remove invalid error parameter from mysql callback

This commit is contained in:
Dave Conway-Jones 2017-03-17 13:45:22 +00:00
parent 9be6545739
commit 5a07f29ebd
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ module.exports = function(RED) {
node.connection.query("SELECT version();", [], function(err, rows) {
if (err) {
node.connection.release();
node.error(err,msg);
node.error(err);
node.status({fill:"red",shape:"ring",text:"Bad Ping"});
doConnect();
}

View File

@ -1,6 +1,6 @@
{
"name" : "node-red-node-mysql",
"version" : "0.0.15",
"version" : "0.0.16",
"description" : "A Node-RED node to read and write to a MySQL database",
"dependencies" : {
"mysql" : "^2.13.0"