mirror of
https://github.com/wekan/wekan.git
synced 2026-02-17 21:48:07 +01:00
Migrate createIndex to createIndexAsync
This commit is contained in:
parent
60ecddfce4
commit
ca2083c858
32 changed files with 112 additions and 110 deletions
|
|
@ -66,8 +66,8 @@ InvitationCodes.helpers({
|
|||
// });
|
||||
|
||||
if (Meteor.isServer) {
|
||||
Meteor.startup(() => {
|
||||
InvitationCodes._collection.createIndex({ modifiedAt: -1 });
|
||||
Meteor.startup(async () => {
|
||||
await InvitationCodes._collection.createIndexAsync({ modifiedAt: -1 });
|
||||
});
|
||||
Boards.deny({
|
||||
fetch: ['members'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue