Skip to content

Commit

Permalink
fix:fix show_sk function (#794)
Browse files Browse the repository at this point in the history
  • Loading branch information
RWDai authored Jul 3, 2024
1 parent b2926b1 commit dc8418a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/supports/iam/src/basic/serv/iam_cert_serv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ impl IamCertServ {
.await?;
if let Some(ext_cert) = ext_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::default(), funs, &mock_ctx).await?;
encode_cert(&ext_cert.id, now_sk, ext_cert.sk_invisible)?
} else {
"".to_string()
Expand Down

0 comments on commit dc8418a

Please sign in to comment.