Fix lint errors.

This commit is contained in:
Lauri Ojansivu 2018-09-16 01:50:36 +03:00
parent b3a752ef34
commit df84a2be9a
34 changed files with 991 additions and 999 deletions

View file

@ -57,16 +57,13 @@ Activities.before.insert((userId, doc) => {
});
Activities.after.insert((userId, doc) => {
const activity = Activities._transform(doc);
RulesHelper.executeRules(activity);
const activity = Activities._transform(doc);
RulesHelper.executeRules(activity);
});
if (Meteor.isServer) {
// For efficiency create indexes on the date of creation, and on the date of
// creation in conjunction with the card or board id, as corresponding views