Skip to content

Commit

Permalink
[fix] hyperledger-iroha#3448: Fix compiling iroha_client_cli separately
Browse files Browse the repository at this point in the history
Signed-off-by: Vladimir Pesterev <pesterev@pm.me>
  • Loading branch information
pesterev committed May 3, 2023
1 parent 6daae99 commit ca76469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client_cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ mod account {
impl RunArgs for ListPermissions {
fn run(self, cfg: &ClientConfiguration) -> Result<Box<dyn Serialize>> {
let client = Client::new(cfg)?;
let find_all_permissions = FindPermissionTokensByAccountId { id: self.id.into() };
let find_all_permissions = FindPermissionTokensByAccountId::new(self.id);
let permissions = client
.request(find_all_permissions)
.wrap_err("Failed to get all account permissions")?;
Expand Down

0 comments on commit ca76469

Please sign in to comment.