Fix edit_swimlane

pull/5055/head
Jakub Jurczyk 2 years ago committed by GitHub
parent 48c763dbe3
commit 3a22d4efdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      models/swimlanes.js

@ -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 } }
); );

Loading…
Cancel
Save