From 59ba2111e87eca097ceb07e680ec4b671d0ac9d9 Mon Sep 17 00:00:00 2001 From: Ghassen Rjab Date: Tue, 27 Feb 2018 02:57:58 +0100 Subject: Fix lint warnings --- models/cardComments.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'models/cardComments.js') diff --git a/models/cardComments.js b/models/cardComments.js index 4d802748..b6cb10fa 100644 --- a/models/cardComments.js +++ b/models/cardComments.js @@ -87,7 +87,7 @@ if (Meteor.isServer) { //CARD COMMENT REST API if (Meteor.isServer) { - JsonRoutes.add('GET', '/api/boards/:boardId/cards/:cardId/comments', function (req, res, next) { + JsonRoutes.add('GET', '/api/boards/:boardId/cards/:cardId/comments', function (req, res) { try { Authentication.checkUserId( req.userId); const paramBoardId = req.params.boardId; @@ -111,7 +111,7 @@ if (Meteor.isServer) { } }); - JsonRoutes.add('GET', '/api/boards/:boardId/cards/:cardId/comments/:commentId', function (req, res, next) { + JsonRoutes.add('GET', '/api/boards/:boardId/cards/:cardId/comments/:commentId', function (req, res) { try { Authentication.checkUserId( req.userId); const paramBoardId = req.params.boardId; @@ -130,7 +130,7 @@ if (Meteor.isServer) { } }); - JsonRoutes.add('POST', '/api/boards/:boardId/cards/:cardId/comments', function (req, res, next) { + JsonRoutes.add('POST', '/api/boards/:boardId/cards/:cardId/comments', function (req, res) { try { Authentication.checkUserId( req.userId); const paramBoardId = req.params.boardId; @@ -160,7 +160,7 @@ if (Meteor.isServer) { } }); - JsonRoutes.add('DELETE', '/api/boards/:boardId/cards/:cardId/comments/:commentId', function (req, res, next) { + JsonRoutes.add('DELETE', '/api/boards/:boardId/cards/:cardId/comments/:commentId', function (req, res) { try { Authentication.checkUserId( req.userId); const paramBoardId = req.params.boardId; -- cgit v1.2.3-1-g7c22