Eslint and bugfix unused crossBoardMovePages

indiachan-spamvector
Thomas Lynch 2 years ago
parent a3a6199332
commit 058d7b1dbb
  1. 2
      models/forms/actionhandler.js
  2. 1
      models/forms/moveposts.js

@ -535,7 +535,7 @@ module.exports = async (req, res, next) => {
'options': {
'board': res.locals.destinationBoard,
'startpage': 1,
'endpage': numPagesAfterActions,
'endpage': crossBoardMovePages,
}
});
}

@ -94,7 +94,6 @@ module.exports = async (req, res) => {
acc.replyfiles += p.files.length;
return acc;
}, { replyposts: 0, replyfiles: 0 });
bulkWrites.push({
'updateOne': {
'filter': {

Loading…
Cancel
Save