diff --git a/app/services/evaluator_management_service.rb b/app/services/evaluator_management_service.rb index b6a22e25..87f7f227 100644 --- a/app/services/evaluator_management_service.rb +++ b/app/services/evaluator_management_service.rb @@ -55,10 +55,7 @@ def update_name_for_existing_user(user) ) if temp_invitation.valid? - user.update( - first_name: temp_invitation.first_name, - last_name: temp_invitation.last_name - ) + user.update( first_name: temp_invitation.first_name, last_name: temp_invitation.last_name ) { success: true } else name_errors = temp_invitation.errors.messages.slice(:first_name, :last_name)