mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Fix lint errors
This commit is contained in:
parent
9eef5112dc
commit
4dbe6feb8c
1 changed files with 1 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue