Skip to content

Commit

Permalink
Handle profiles missing some attributes (#971)
Browse files Browse the repository at this point in the history
  • Loading branch information
vertism authored Aug 16, 2024
1 parent 44a6ab9 commit d0e1e64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/mailers/reminder_mailer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ def person_profile_update(person)
days_worked: days_worked(person),
teams_and_roles: teams_and_roles(person),
location: person.location.presence || "-",
secondary_email: person.secondary_email,
secondary_email: person.secondary_email.presence || "-",
primary_phone_number: person.primary_phone_number.presence || "-",
current_projects: person.current_project.presence || "-",
description: person.description,
description: person.description.presence || "-",
token_url: token_url_for(person),
)

Expand Down

0 comments on commit d0e1e64

Please sign in to comment.