chore: update sub-deps and fix lint

This commit is contained in:
Matteo Pagliazzi
2020-07-01 18:20:18 +02:00
parent b9d42bf0bc
commit 3d5630d5a2
72 changed files with 2519 additions and 3931 deletions

View File

@@ -108,7 +108,6 @@ schema.methods.getObjectionsToInteraction = function getObjectionsToInteraction
)(checks);
};
/**
* Sends a message to a user. Archives a copy in sender's inbox.
*
@@ -251,7 +250,6 @@ schema.methods.addAchievement = function addAchievement (achievement) {
});
};
/**
* Adds an achievement and a related notification to the user, saving it directly to the database
* To be used when the user object is not loaded or we don't want to use `user.save`