summaryrefslogtreecommitdiffstats
path: root/models/cardComments.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/cardComments.js
parent1efa66b58c2703772e39d0fca01dcb7f2f14a44c (diff)
downloadwekan-59ba2111e87eca097ceb07e680ec4b671d0ac9d9.tar.gz
wekan-59ba2111e87eca097ceb07e680ec4b671d0ac9d9.tar.bz2
wekan-59ba2111e87eca097ceb07e680ec4b671d0ac9d9.zip
Fix lint warnings
Diffstat (limited to 'models/cardComments.js')
-rw-r--r--models/cardComments.js8
1 files changed, 4 insertions, 4 deletions
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;