mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-22 12:21:18 +00:00
fmt
This commit is contained in:
parent
99cdf742d4
commit
7390d75cdb
2 changed files with 5 additions and 2 deletions
|
@ -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,
|
||||
|
|
|
@ -47,7 +47,7 @@ full = [
|
|||
"dep:uuid",
|
||||
"dep:itertools",
|
||||
"dep:markdown-it",
|
||||
"dep:activitypub_federation"
|
||||
"dep:activitypub_federation",
|
||||
]
|
||||
|
||||
[dependencies]
|
||||
|
|
Loading…
Reference in a new issue