From 7390d75cdb8c1013341dee97197cdb561c14eaa6 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Wed, 25 Sep 2024 13:23:15 +0200 Subject: [PATCH] fmt --- crates/apub/src/http/mod.rs | 5 ++++- crates/utils/Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) 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]