Don't count a delivery as successful if the response is not tracked by Stoplight
This commit is contained in:
parent
78ef635980
commit
8eadd119a3
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ class ActivityPub::DeliveryWorker
|
||||||
build_request(http_client).perform do |response|
|
build_request(http_client).perform do |response|
|
||||||
raise Mastodon::UnexpectedResponseError, response unless response_successful?(response) || response_error_unsalvageable?(response)
|
raise Mastodon::UnexpectedResponseError, response unless response_successful?(response) || response_error_unsalvageable?(response)
|
||||||
|
|
||||||
@performed = true
|
@performed = response_successful?(response)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue