Parcourir la source

Fix edit_swimlane

Jakub Jurczyk il y a 1 an
Parent
commit
3a22d4efdc
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      models/swimlanes.js

+ 1 - 1
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 } }
       );
       );