diff --git a/crates/apub/src/http/mod.rs b/crates/apub/src/http/mod.rs index ed3026e6e..4093ba672 100644 --- a/crates/apub/src/http/mod.rs +++ b/crates/apub/src/http/mod.rs @@ -48,7 +48,10 @@ pub async fn shared_inbox( match res { // Ignore NotFound error, usually means that the sending actor was deleted and sent a delete // activity: https://github.com/LemmyNet/lemmy/issues/2240 - Ok(Err(LemmyError {error_type: LemmyErrorType::NotFound, ..})) => Ok(HttpResponse::Ok().finish()), + Ok(Err(LemmyError { + error_type: LemmyErrorType::NotFound, + .. + })) => Ok(HttpResponse::Ok().finish()), // Top-level error means we hit the send timeout Err(_) => Err(LemmyErrorType::InboxTimeout.into()), Ok(other) => other, diff --git a/crates/utils/Cargo.toml b/crates/utils/Cargo.toml index 6f6059160..950c80204 100644 --- a/crates/utils/Cargo.toml +++ b/crates/utils/Cargo.toml @@ -47,7 +47,7 @@ full = [ "dep:uuid", "dep:itertools", "dep:markdown-it", - "dep:activitypub_federation" + "dep:activitypub_federation", ] [dependencies]