Skip to content

Commit

Permalink
getTeamId from teamService
Browse files Browse the repository at this point in the history
  • Loading branch information
hechao authored and hechao committed Aug 9, 2024
1 parent 5b16c10 commit 7b371e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public void createUser(User user) {
// set team member
Member member = new Member();
member.setUserName(user.getUsername());
member.setTeamId(user.getLastTeamId());
member.setTeamId(teamService.getSysDefaultTeam().getId());
Role role = roleService.getSysDefaultRole();
member.setRoleId(role.getRoleId());
member.setRoleName(role.getRoleName());
Expand Down

0 comments on commit 7b371e6

Please sign in to comment.