diff --git a/common/script/ops/sortTask.js b/common/script/ops/sortTask.js index 9a50abbe46f..07db8289cfd 100644 --- a/common/script/ops/sortTask.js +++ b/common/script/ops/sortTask.js @@ -21,7 +21,7 @@ module.exports = function sortTask (user, req = {}) { if (index === -1) { throw new NotFound(i18n.t('messageTaskNotFound', req.language)); } - if (to == null && fromParam == null) { + if (to == null && fromParam == null) { // eslint-disable-line eqeqeq throw new BadRequest('?to=__&from=__ are required'); }