Fix channel registration error due to extra knex query param

This commit is contained in:
Calvin Montgomery 2017-06-05 18:46:41 -07:00
parent 07c801a12d
commit 830486bc4f
1 changed files with 1 additions and 1 deletions

View File

@ -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);
},
/**