forked from alemi/upub
fix: answer deletions with 200
This commit is contained in:
parent
bb4f6e9df0
commit
84a446b494
1 changed files with 1 additions and 1 deletions
|
@ -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}");
|
||||
|
|
Loading…
Reference in a new issue