mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +08:00
refactor(user_role): Change update user role request to take email instead of user_id (#3530)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -86,7 +86,7 @@ pub struct PermissionInfo {
|
||||
|
||||
#[derive(Debug, serde::Deserialize, serde::Serialize)]
|
||||
pub struct UpdateUserRoleRequest {
|
||||
pub user_id: String,
|
||||
pub email: pii::Email,
|
||||
pub role_id: String,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user