Flush body when POST requests (#5128)
This commit is contained in:
parent
b9f59ebcc6
commit
3d9b8847d2
5 changed files with 5 additions and 5 deletions
|
@ -12,7 +12,7 @@ class SendInteractionService < BaseService
|
|||
|
||||
return if !target_account.ostatus? || block_notification?
|
||||
|
||||
delivery = build_request.perform
|
||||
delivery = build_request.perform.flush
|
||||
|
||||
raise Mastodon::UnexpectedResponseError, delivery unless delivery.code > 199 && delivery.code < 300
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue