Skip to content
Snippets Groups Projects
Commit 17d2f4d1 authored by Hugo Trentesaux's avatar Hugo Trentesaux
Browse files

also for smith cert

parent f701847d
No related branches found
No related tags found
1 merge request!28get cert count from cert meta
...@@ -330,9 +330,9 @@ pub async fn get_identity( ...@@ -330,9 +330,9 @@ pub async fn get_identity(
let smith = get_smith(client, index).await?; let smith = get_smith(client, index).await?;
let smith = smith.map(|s| SmithView { let smith = smith.map(|s| SmithView {
status: s.status, status: s.status,
cert_issued_count: smith_cert_issued.len(), cert_issued_count: s.issued_certs.len(),
cert_issued: smith_cert_issued, cert_issued: smith_cert_issued,
cert_received_count: smith_cert_received.len(), cert_received_count: s.received_certs.len(),
cert_received: smith_cert_received, cert_received: smith_cert_received,
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment