diff options
author | Unknown <unknown@example.com> | 2020-07-21 17:36:46 +0200 |
---|---|---|
committer | Unknown <unknown@example.com> | 2020-07-21 17:36:46 +0200 |
commit | 95522ebcd9100340a8d56a77103ec163185f6d05 (patch) | |
tree | d77c8e631adeb2ac02412c29b7f1cef41f795316 /models/users.js | |
parent | 8bf13f43e8a3cb143f429d1f49ce761b303982df (diff) | |
download | wekan-95522ebcd9100340a8d56a77103ec163185f6d05.tar.gz wekan-95522ebcd9100340a8d56a77103ec163185f6d05.tar.bz2 wekan-95522ebcd9100340a8d56a77103ec163185f6d05.zip |
changed edit_card and get_card_by_customfields
There was a bug in edit_card API: If I call API to edit listid and some fields It modifies only the listid. In addiction I've modified get_card_by_customfield to return full documents.
Diffstat (limited to 'models/users.js')
-rw-r--r-- | models/users.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/models/users.js b/models/users.js index 7c5d2855..0ff9d017 100644 --- a/models/users.js +++ b/models/users.js @@ -1136,9 +1136,9 @@ if (Meteor.isServer) { */ const Future = require('fibers/future'); - let future1 = new Future(); - let future2 = new Future(); - let future3 = new Future(); + const future1 = new Future(); + const future2 = new Future(); + const future3 = new Future(); Boards.insert( { title: TAPi18n.__('templates'), |