Fixes for tests
This commit is contained in:
parent
858c99e09d
commit
bf71acfe2d
1 changed files with 2 additions and 2 deletions
|
|
@ -236,7 +236,7 @@ class SubscriptionService
|
|||
];
|
||||
|
||||
$body = array_merge($body, $context);
|
||||
|
||||
|
||||
if(Ninja::isHosted())
|
||||
{
|
||||
$hosted = [
|
||||
|
|
@ -251,7 +251,7 @@ class SubscriptionService
|
|||
'headers' => $this->subscription->webhook_configuration['post_purchase_headers']
|
||||
]);
|
||||
|
||||
$response = $client->{$this->subscription->webhook_configuration['post_purchase_rest_method']($this->subscription['post_purchase_url'],[
|
||||
$response = $client->{$this->subscription->webhook_configuration['post_purchase_rest_method']}($this->subscription['post_purchase_url'],[
|
||||
RequestOptions::JSON => ['body' => $body]
|
||||
]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue