Skip to content

Commit

Permalink
fix missing name bug
Browse files Browse the repository at this point in the history
  • Loading branch information
stepchud committed Feb 21, 2025
1 parent ee1f17d commit 72d501c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/services/evaluator_management_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def remove_evaluator(evaluator_type, evaluator_id)
def self.accept_evaluator_invitation(user)
invitations = EvaluatorInvitation.where(email: user.email)
invitations.each do |invite|
user.update(first_name: invite.first_name, last_name: invite.last_name)
ChallengePhasesEvaluator.create(challenge: invite.challenge, phase: invite.phase, user:)
invite.destroy
end
Expand Down

0 comments on commit 72d501c

Please sign in to comment.