refactor: pass customer object to make_pm_data (#3246)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Chethan Rao
2024-01-09 20:06:28 +05:30
committed by GitHub
parent eba789640b
commit 36c32c377a
17 changed files with 100 additions and 21 deletions

View File

@ -244,12 +244,6 @@ impl TryFrom<String> for Email {
}
}
impl From<Secret<String, EmailStrategy>> for Email {
fn from(value: Secret<String, EmailStrategy>) -> Self {
Self(value)
}
}
impl ops::Deref for Email {
type Target = Secret<String, EmailStrategy>;