From 84a446b4945baded11390f6aab62060f9a0fcb2d Mon Sep 17 00:00:00 2001 From: alemi Date: Wed, 1 May 2024 18:43:43 +0200 Subject: [PATCH] fix: answer deletions with 200 --- src/server/auth.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/auth.rs b/src/server/auth.rs index 95d57b7a..916ed29e 100644 --- a/src/server/auth.rs +++ b/src/server/auth.rs @@ -136,7 +136,7 @@ where // exist anymore, so it must be a deletion we can ignore if let UpubError::Reqwest(ref x) = e { if let Some(StatusCode::GONE) = x.status() { - return Err(UpubError::not_modified()); + return Err(UpubError::Status(StatusCode::OK)); // 200 so mastodon will shut uppp } } tracing::warn!("could not fetch user (won't verify): {e}");