0
0
Fork 0

Flush body when POST requests (#5128)

This commit is contained in:
abcang 2017-09-28 22:04:32 +09:00 committed by Eugen Rochko
parent b9f59ebcc6
commit 3d9b8847d2
5 changed files with 5 additions and 5 deletions

View file

@ -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