mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Subscriptions
This commit is contained in:
parent
bf71acfe2d
commit
c814a754c3
@ -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…
Reference in New Issue
Block a user