Fix edit_swimlane

This commit is contained in:
Jakub Jurczyk 2023-08-03 12:44:22 +02:00 committed by GitHub
parent 48c763dbe3
commit 3a22d4efdc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -510,7 +510,7 @@ if (Meteor.isServer) {
if (!swimlane) { if (!swimlane) {
throw new Meteor.Error('not-found', 'Swimlane not found'); throw new Meteor.Error('not-found', 'Swimlane not found');
} }
Swimlanes.update( Swimlanes.direct.update(
{ _id: paramSwimlaneId }, { _id: paramSwimlaneId },
{ $set: { title: req.body.title } } { $set: { title: req.body.title } }
); );