Merge pull request #5367 from overleaf/jpa-node-handle-callback-err

[misc] fix eslint violations for node/handle-callback-err

GitOrigin-RevId: 83a4900e8861010df1917bff49382bd9c93375bd
This commit is contained in:
Jakob Ackermann
2021-10-28 08:03:26 +00:00
committed by Copybot
parent 12b90cac69
commit 7f9fd00bda
181 changed files with 746 additions and 658 deletions
@@ -84,7 +84,7 @@ module.exports = LaunchpadController = {
_atLeastOneAdminExists(callback) {
if (callback == null) {
callback = function (err, exists) {}
callback = function () {}
}
return UserGetter.getUser(
{ isAdmin: true },