remove unnecessary console.log from rcdb
This commit is contained in:
parent
435f85ec3b
commit
969f232bbe
1 changed files with 1 additions and 2 deletions
|
@ -35,8 +35,7 @@ RC.prototype.add = function(rc, callback) {
|
|||
}
|
||||
|
||||
RC.prototype.change = function(rc, callback) {
|
||||
// var rc = {tristate:bool, on_value:"FF00...", off_value:"FF00...", name:"Switch name"};
|
||||
console.log(rc);
|
||||
// var rc = {tristate:bool, on_value:"FF00...", off_value:"FF00...", name:"Switch name", switch_id:"1"};
|
||||
connection.query('UPDATE rc_switches SET ? WHERE `switch_id` = ?', [rc, rc.switch_id], callback);
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue