mirror of
https://github.com/wekan/wekan.git
synced 2026-01-02 23:58:49 +01:00
Prettier & eslint project style update
This commit is contained in:
parent
a0a482aa8e
commit
3eb4d2c341
116 changed files with 6216 additions and 5240 deletions
|
|
@ -47,7 +47,7 @@ InvitationCodes.attachSchema(
|
|||
type: Boolean,
|
||||
defaultValue: true,
|
||||
},
|
||||
})
|
||||
}),
|
||||
);
|
||||
|
||||
InvitationCodes.helpers({
|
||||
|
|
@ -56,11 +56,6 @@ InvitationCodes.helpers({
|
|||
},
|
||||
});
|
||||
|
||||
InvitationCodes.before.update((userId, doc, fieldNames, modifier, options) => {
|
||||
modifier.$set = modifier.$set || {};
|
||||
modifier.$set.modifiedAt = Date.now();
|
||||
});
|
||||
|
||||
// InvitationCodes.before.insert((userId, doc) => {
|
||||
// doc.createdAt = new Date();
|
||||
// doc.authorId = userId;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue