From 4dbe6feb8c91bd78be9a1dff369f4fe91ef47a9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Manelli?= Date: Sun, 15 Apr 2018 23:06:54 -0300 Subject: Fix lint errors --- models/checklists.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/models/checklists.js b/models/checklists.js index de6c3660..e352f38d 100644 --- a/models/checklists.js +++ b/models/checklists.js @@ -148,7 +148,7 @@ if (Meteor.isServer) { code: 500, }); } -}); + }); JsonRoutes.add('POST', '/api/boards/:boardId/cards/:cardId/checklists', function (req, res) { Authentication.checkUserId( req.userId); @@ -160,7 +160,6 @@ if (Meteor.isServer) { sort: 0, }); if (id) { - const checklist = Checklists.findOne({_id: id}); req.body.items.forEach(function (item, idx) { ChecklistItems.insert({ cardId: paramCardId, -- cgit v1.2.3-1-g7c22