mirror of
https://github.com/wekan/wekan.git
synced 2026-03-03 04:10:16 +01:00
Replace mquandalle:collection-mutations with collection helpers
This commit is contained in:
parent
aca661583d
commit
94a3575e2c
35 changed files with 718 additions and 1321 deletions
|
|
@ -17,7 +17,7 @@ Meteor.methods({
|
|||
return ret;
|
||||
},
|
||||
|
||||
moveSwimlane(swimlaneId, toBoardId) {
|
||||
async moveSwimlane(swimlaneId, toBoardId) {
|
||||
check(swimlaneId, String);
|
||||
check(toBoardId, String);
|
||||
|
||||
|
|
@ -26,7 +26,7 @@ Meteor.methods({
|
|||
|
||||
let ret = false;
|
||||
if (swimlane && toBoard) {
|
||||
swimlane.move(toBoardId);
|
||||
await swimlane.move(toBoardId);
|
||||
|
||||
ret = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue