Subscriptions
This commit is contained in:
parent
bf71acfe2d
commit
c814a754c3
2 changed files with 3 additions and 2 deletions
|
|
@ -231,8 +231,8 @@ class SubscriptionService
|
|||
//hit the webhook to after a successful onboarding
|
||||
|
||||
$body = [
|
||||
'subscription' => $this->subscription->toArray(),
|
||||
'client' => $this->client_subscription->client->toArray(),
|
||||
'subscription' => $this->subscription->hashed_id,
|
||||
'client' => $this->client_subscription->client->hashed_id,
|
||||
];
|
||||
|
||||
$body = array_merge($body, $context);
|
||||
|
|
|
|||
|
|
@ -65,6 +65,7 @@ class SubscriptionTransformer extends EntityTransformer
|
|||
'created_at' => (int)$subscription->created_at,
|
||||
'updated_at' => (int)$subscription->updated_at,
|
||||
'archived_at' => (int)$subscription->deleted_at,
|
||||
'plan_map' => '', //@deprecated 03/04/2021
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue