-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(recon): update recipient email and mail body for ProFeatureR…
…equest (#3381)
- Loading branch information
Showing
2 changed files
with
14 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,9 +102,9 @@ pub async fn send_recon_request( | |
user_name: UserName::new(user_from_db.name) | ||
.change_context(errors::ApiErrorResponse::InternalServerError) | ||
.attach_printable("Failed to form username")?, | ||
recipient_email: UserEmail::from_pii_email(user_from_db.email.clone()) | ||
recipient_email: UserEmail::new(Secret::new("[email protected]".to_string())) | ||
.change_context(errors::ApiErrorResponse::InternalServerError) | ||
.attach_printable("Failed to convert to UserEmail from pii::Email")?, | ||
.attach_printable("Failed to convert recipient's email to UserEmail")?, | ||
settings: state.conf.clone(), | ||
subject: format!( | ||
"Dashboard Pro Feature Request by {}", | ||
|
@@ -187,7 +187,7 @@ pub async fn recon_merchant_account_update( | |
let email_contents = email_types::ReconActivation { | ||
recipient_email: UserEmail::from_pii_email(user_email.clone()) | ||
.change_context(errors::ApiErrorResponse::InternalServerError) | ||
.attach_printable("Failed to convert to UserEmail from pii::Email")?, | ||
.attach_printable("Failed to convert recipient's email to UserEmail from pii::Email")?, | ||
user_name: UserName::new(Secret::new("HyperSwitch User".to_string())) | ||
.change_context(errors::ApiErrorResponse::InternalServerError) | ||
.attach_printable("Failed to form username")?, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters