Flush body when POST requests (#5128)
This commit is contained in:
parent
b9f59ebcc6
commit
3d9b8847d2
5 changed files with 5 additions and 5 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue