Skip to content

Commit

Permalink
iam:fix cert.
Browse files Browse the repository at this point in the history
  • Loading branch information
ljl committed Aug 5, 2024
1 parent c3e30cf commit 3326762
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion backend/supports/iam/src/basic/serv/iam_cert_serv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,20 @@ impl IamCertServ {
.await?;
for ext_cert in query_cert {
let encoded_sk = if show_sk {
let now_sk = RbumCertServ::show_sk(ext_cert.id.as_str(), &RbumCertFilterReq::default(), funs, ctx).await?;
let now_sk = RbumCertServ::show_sk(
ext_cert.id.as_str(),
&RbumCertFilterReq {
basic: RbumBasicFilterReq {
own_paths: Some("".to_string()),
with_sub_own_paths: true,
..Default::default()
},
..Default::default()
},
funs,
ctx,
)
.await?;
encode_cert(&ext_cert.id, now_sk, ext_cert.sk_invisible)?
} else {
"".to_string()
Expand Down

0 comments on commit 3326762

Please sign in to comment.