mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
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:
@ -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>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user