Skip to content

Commit

Permalink
Merge pull request #1124 from OneCommunityGlobal/mohan-add-team-code-…
Browse files Browse the repository at this point in the history
…create-new-user

Mohan - Add Team Code to Create New User
  • Loading branch information
one-community authored Oct 14, 2024
2 parents d4c6243 + 78ef925 commit 4f7d9ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/controllers/userProfileController.js
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ const userProfileController = function (UserProfile, Project) {
up.adminLinks = req.body.adminLinks;
up.teams = Array.from(new Set(req.body.teams));
up.projects = Array.from(new Set(req.body.projects));
up.teamCode = req.body.teamCode;
up.createdDate = req.body.createdDate;
up.startDate = req.body.startDate ? req.body.startDate : req.body.createdDate;
up.email = req.body.email;
Expand Down

0 comments on commit 4f7d9ff

Please sign in to comment.