Skip to content

Commit

Permalink
fix: flatten inner role in json (#5198)
Browse files Browse the repository at this point in the history
Signed-off-by: Marin Veršić <[email protected]>
  • Loading branch information
mversic authored Oct 29, 2024
1 parent 8c707d7 commit 4b23527
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/iroha_data_model/src/role.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4b23527

Please sign in to comment.