mirror of https://github.com/calzoneman/sync.git
Fix channel registration error due to extra knex query param
This commit is contained in:
parent
07c801a12d
commit
830486bc4f
|
@ -379,7 +379,7 @@ module.exports = {
|
|||
|
||||
db.query("INSERT INTO `channel_ranks` VALUES (?, ?, ?) " +
|
||||
"ON DUPLICATE KEY UPDATE rank=?",
|
||||
[name, rank, chan, rank, chan], callback);
|
||||
[name, rank, chan, rank], callback);
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue