Skip to content

Commit

Permalink
Fixing admin application email subject. Fixes #2688 (#2695)
Browse files Browse the repository at this point in the history
  • Loading branch information
dessalines authored Feb 3, 2023
1 parent b1e121b commit ed95c61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/api_common/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ pub async fn send_new_applicant_email_to_admins(
for admin in &admins {
let email = &admin.local_user.email.clone().expect("email");
let lang = get_interface_language_from_settings(admin);
let subject = lang.new_application_subject(applicant_username, &settings.hostname);
let subject = lang.new_application_subject(&settings.hostname, applicant_username);
let body = lang.new_application_body(applications_link);
send_email(&subject, email, &admin.person.name, &body, settings)?;
}
Expand Down

0 comments on commit ed95c61

Please sign in to comment.