Skip to content

Commit

Permalink
fix: remove unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
nanderstabel committed Oct 4, 2024
1 parent 2ff7d34 commit 3b4987f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions agent_holder/src/presentation/aggregate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use agent_shared::config::{get_preferred_did_method, get_preferred_signing_algor
use async_trait::async_trait;
use base64::{engine::general_purpose::URL_SAFE_NO_PAD, Engine};
use cqrs_es::Aggregate;
use identity_core::{common::Timestamp, convert::ToJson};
use identity_core::convert::ToJson;
use identity_credential::{credential::Jwt, presentation::JwtPresentationOptions};
use jsonwebtoken::Header;
use serde::{Deserialize, Serialize};
Expand Down Expand Up @@ -60,7 +60,8 @@ impl Aggregate for Presentation {
}

#[cfg(feature = "test_utils")]
let options = JwtPresentationOptions::default().issuance_date(Timestamp::from_unix(0).unwrap());
let options = JwtPresentationOptions::default()
.issuance_date(identity_core::common::Timestamp::from_unix(0).unwrap());
#[cfg(not(feature = "test_utils"))]
let options = JwtPresentationOptions::default();

Expand Down

0 comments on commit 3b4987f

Please sign in to comment.