start upgrading eslint

This commit is contained in:
Matteo Pagliazzi
2019-10-08 16:57:10 +02:00
parent 90c917f69e
commit 621787915c
304 changed files with 5992 additions and 6394 deletions

View File

@@ -3,7 +3,7 @@ import omit from 'lodash/omit';
// From server pass task.toObject() not the task document directly
export default function updateTask (task, req = {}) {
let body = req.body || {};
const body = req.body || {};
// If reminders are updated -> replace the original ones
if (body.reminders) {