Flush body when POST requests (#5128)
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user