-
This commit is contained in:
@ -196,10 +196,10 @@ func (s *userService) Update(ctx context.Context, id uuid.UUID, req *domain.Upda
|
||||
existingUser.LastName = *req.LastName
|
||||
}
|
||||
if req.DisplayName != nil {
|
||||
existingUser.DisplayName = *req.DisplayName
|
||||
existingUser.DisplayName = req.DisplayName
|
||||
}
|
||||
if req.Avatar != nil {
|
||||
existingUser.Avatar = *req.Avatar
|
||||
existingUser.Avatar = req.Avatar
|
||||
}
|
||||
if req.Role != nil {
|
||||
existingUser.Role = *req.Role
|
||||
|
||||
Reference in New Issue
Block a user