mirror of
https://github.com/wekan/wekan.git
synced 2025-12-28 21:28:49 +01:00
Fix createCardWithDueDate Error: User id is required.
Thanks to xet7! Fixes #5114, fixes #5111
This commit is contained in:
parent
56a1617c7e
commit
7d1ab0a388
1 changed files with 1 additions and 0 deletions
|
|
@ -2932,6 +2932,7 @@ Meteor.methods({
|
||||||
createdAt: new Date(),
|
createdAt: new Date(),
|
||||||
dueAt: dueDate,
|
dueAt: dueDate,
|
||||||
sort: 0,
|
sort: 0,
|
||||||
|
usedId: Meteor.userId(),
|
||||||
};
|
};
|
||||||
const cardId = Cards.insert(card);
|
const cardId = Cards.insert(card);
|
||||||
return cardId;
|
return cardId;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue