Skip to content

Commit

Permalink
Merge pull request #783 from OneCommunityGlobal/development
Browse files Browse the repository at this point in the history
Backend Release to Main [1.51]
  • Loading branch information
one-community authored Mar 2, 2024
2 parents 5eb0786 + 69981de commit 462f539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/userProfileController.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ const userProfileController = function (UserProfile) {
up.bioPosted = req.body.bioPosted || 'default';
up.isFirstTimelog = true;
up.actualEmail = req.body.actualEmail;
up.isVisible = !['Administrator', 'Mentor', 'Owner'].includes(req.body.role);
up.isVisible = !['Mentor'].includes(req.body.role);

up.save()
.then(() => {
Expand Down

0 comments on commit 462f539

Please sign in to comment.