Skip to content

Commit

Permalink
Decode as handle
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-sherman committed Nov 29, 2024
1 parent a282778 commit f4fc655
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages-rs/drainpipe/src/jetstream/event.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use atrium_api::types::string::{Cid, Did, Nsid};
use atrium_api::types::string::{Cid, Did, Handle, Nsid};
use chrono::Utc;
use serde::{Deserialize, Serialize};

Expand Down Expand Up @@ -149,8 +149,7 @@ pub struct IdentityData {
/// The DID of the identity.
pub did: Did,
/// The handle associated with the identity.
pub handle: Option<String>,
// pub handle: Option<Handle>,
pub handle: Option<Handle>,
pub seq: u64,
pub time: chrono::DateTime<Utc>,
}

0 comments on commit f4fc655

Please sign in to comment.