remove unnecessary console.log from rcdb

This commit is contained in:
Shannon Sterz 2016-02-28 20:52:32 +01:00
parent 435f85ec3b
commit 969f232bbe

View file

@ -35,8 +35,7 @@ RC.prototype.add = function(rc, callback) {
} }
RC.prototype.change = function(rc, callback) { RC.prototype.change = function(rc, callback) {
// var rc = {tristate:bool, on_value:"FF00...", off_value:"FF00...", name:"Switch name"}; // var rc = {tristate:bool, on_value:"FF00...", off_value:"FF00...", name:"Switch name", switch_id:"1"};
console.log(rc);
connection.query('UPDATE rc_switches SET ? WHERE `switch_id` = ?', [rc, rc.switch_id], callback); connection.query('UPDATE rc_switches SET ? WHERE `switch_id` = ?', [rc, rc.switch_id], callback);
} }