diff --git a/client_cli/src/main.rs b/client_cli/src/main.rs index db315ebea33..79cfb837c48 100644 --- a/client_cli/src/main.rs +++ b/client_cli/src/main.rs @@ -542,7 +542,7 @@ mod account { impl RunArgs for ListPermissions { fn run(self, cfg: &ClientConfiguration) -> Result> { 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")?;