summaryrefslogtreecommitdiffstats
path: root/models/checklists.js
diff options
context:
space:
mode:
authorGhassen Rjab <rjab.ghassen@gmail.com>2018-02-27 02:57:58 +0100
committerGhassen Rjab <rjab.ghassen@gmail.com>2018-02-27 02:57:58 +0100
commit59ba2111e87eca097ceb07e680ec4b671d0ac9d9 (patch)
tree227773a9c62fc5c08dbed67b2102c178d1dbca65 /models/checklists.js
parent1efa66b58c2703772e39d0fca01dcb7f2f14a44c (diff)
downloadwekan-59ba2111e87eca097ceb07e680ec4b671d0ac9d9.tar.gz
wekan-59ba2111e87eca097ceb07e680ec4b671d0ac9d9.tar.bz2
wekan-59ba2111e87eca097ceb07e680ec4b671d0ac9d9.zip
Fix lint warnings
Diffstat (limited to 'models/checklists.js')
-rw-r--r--models/checklists.js8
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;