Skip to content
This repository was archived by the owner on Dec 14, 2023. It is now read-only.

Commit 7a0d91f

Browse files
committed
linting fixes
1 parent 7facc30 commit 7a0d91f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

profiles.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,8 +498,8 @@ module.exports = function (options) {
498498
seneca.act({role: 'cd-users', cmd: 'load_dojo_admins_for_user', userId: profile.userId}, function (err, dojoAdmins) {
499499
if (err) return done(err);
500500
profile.requestingUserIsDojoAdmin = _.find(dojoAdmins, function (dojoAdmin) {
501-
if(!dojoAdmin.ok){
502-
return false
501+
if (!dojoAdmin.ok) {
502+
return false;
503503
}
504504
return dojoAdmin.id === args.user ? args.user.id : null;
505505
});

0 commit comments

Comments
 (0)