mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04: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(),
|
||||
dueAt: dueDate,
|
||||
sort: 0,
|
||||
usedId: Meteor.userId(),
|
||||
};
|
||||
const cardId = Cards.insert(card);
|
||||
return cardId;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue