fix(users): Added merchant name is list merchants (#3289)

This commit is contained in:
Rachit Naithani
2024-01-09 15:50:09 +05:30
committed by GitHub
parent ee044a0be8
commit 8a354f4229
3 changed files with 24 additions and 4 deletions

View File

@ -1,4 +1,4 @@
use common_utils::pii;
use common_utils::{crypto::OptionalEncryptableName, pii};
use masking::Secret;
use crate::user_role::UserStatus;
@ -133,3 +133,9 @@ pub type VerifyEmailResponse = DashboardEntryResponse;
pub struct SendVerifyEmailRequest {
pub email: pii::Email,
}
#[derive(Debug, serde::Serialize)]
pub struct UserMerchantAccount {
pub merchant_id: String,
pub merchant_name: OptionalEncryptableName,
}