diff --git a/examples/actix-web-example/src/main.rs b/examples/actix-web-example/src/main.rs index afbfc11..a81c25c 100644 --- a/examples/actix-web-example/src/main.rs +++ b/examples/actix-web-example/src/main.rs @@ -6,7 +6,7 @@ use apub_core::{ deref::{Dereference, Repo}, ingest::Ingest, }; -use apub_rustcrypto::{RsaVerifier, RustcryptoError}; +use apub_rustcrypto::{RsaVerifier, RustcryptoError, Sha256Digest}; use dashmap::DashMap; use example_types::{AcceptedActivity, ActivityType, ObjectId}; use std::{ @@ -90,6 +90,7 @@ where type Error = ServerError; type VerifyError = ServerError; type Verifier = MemoryRepo; + type Digest = Sha256Digest; fn verifier(&self) -> Self::Verifier { self.clone()