diff options
Diffstat (limited to 'models/checklists.js')
-rw-r--r-- | models/checklists.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/models/checklists.js b/models/checklists.js index 907ad7e8..7eb0a24f 100644 --- a/models/checklists.js +++ b/models/checklists.js @@ -258,7 +258,7 @@ if (Meteor.isServer) { //CARD COMMENT REST API if (Meteor.isServer) { - JsonRoutes.add('GET', '/api/boards/:boardId/cards/:cardId/checklists', function (req, res, next) { + JsonRoutes.add('GET', '/api/boards/:boardId/cards/:cardId/checklists', function (req, res) { try { Authentication.checkUserId( req.userId); const paramCardId = req.params.cardId; @@ -280,7 +280,7 @@ if (Meteor.isServer) { } }); - JsonRoutes.add('GET', '/api/boards/:boardId/cards/:cardId/checklists/:checklistId', function (req, res, next) { + JsonRoutes.add('GET', '/api/boards/:boardId/cards/:cardId/checklists/:checklistId', function (req, res) { try { Authentication.checkUserId( req.userId); const paramChecklistId = req.params.checklistId; @@ -298,7 +298,7 @@ if (Meteor.isServer) { } }); - JsonRoutes.add('POST', '/api/boards/:boardId/cards/:cardId/checklists', function (req, res, next) { + JsonRoutes.add('POST', '/api/boards/:boardId/cards/:cardId/checklists', function (req, res) { try { Authentication.checkUserId( req.userId); const paramCardId = req.params.cardId; @@ -329,7 +329,7 @@ if (Meteor.isServer) { } }); - JsonRoutes.add('DELETE', '/api/boards/:boardId/cards/:cardId/checklists/:checklistId', function (req, res, next) { + JsonRoutes.add('DELETE', '/api/boards/:boardId/cards/:cardId/checklists/:checklistId', function (req, res) { try { Authentication.checkUserId( req.userId); const paramCommentId = req.params.commentId; |