Skip to content

Commit ca76469

Browse files
committed
[fix] hyperledger-iroha#3448: Fix compiling iroha_client_cli separately
Signed-off-by: Vladimir Pesterev <pesterev@pm.me>
1 parent 6daae99 commit ca76469

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client_cli/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ mod account {
542542
impl RunArgs for ListPermissions {
543543
fn run(self, cfg: &ClientConfiguration) -> Result<Box<dyn Serialize>> {
544544
let client = Client::new(cfg)?;
545-
let find_all_permissions = FindPermissionTokensByAccountId { id: self.id.into() };
545+
let find_all_permissions = FindPermissionTokensByAccountId::new(self.id);
546546
let permissions = client
547547
.request(find_all_permissions)
548548
.wrap_err("Failed to get all account permissions")?;

0 commit comments

Comments
 (0)