diff options
author | abcang <abcang1015@gmail.com> | 2017-09-28 22:04:32 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-09-28 15:04:32 +0200 |
commit | 3d9b8847d21d886886baae483304288139669795 (patch) | |
tree | 28338bf793ebc525f1e44ace50a7f46424aaf123 /app/services/subscribe_service.rb | |
parent | b9f59ebcc68e9da0a7158741a1a2ef3564e1321e (diff) |
Flush body when POST requests (#5128)
Diffstat (limited to 'app/services/subscribe_service.rb')
-rw-r--r-- | app/services/subscribe_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/subscribe_service.rb b/app/services/subscribe_service.rb index bfa7ff8c8..2d8af0203 100644 --- a/app/services/subscribe_service.rb +++ b/app/services/subscribe_service.rb @@ -6,7 +6,7 @@ class SubscribeService < BaseService @account = account @account.secret = SecureRandom.hex - @response = build_request.perform + @response = build_request.perform.flush if response_failed_permanently? # We're not allowed to subscribe. Fail and move on. |