diff --git a/crates/iroha_data_model/src/role.rs b/crates/iroha_data_model/src/role.rs index d47cc3328a3..899bc833b61 100644 --- a/crates/iroha_data_model/src/role.rs +++ b/crates/iroha_data_model/src/role.rs @@ -83,6 +83,7 @@ mod model { pub struct NewRole { #[allow(missing_docs)] #[id(transparent)] + #[serde(flatten)] pub inner: Role, /// First owner pub grant_to: AccountId,