mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-13 06:32:40 +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
|
//hit the webhook to after a successful onboarding
|
||||||
|
|
||||||
$body = [
|
$body = [
|
||||||
'subscription' => $this->subscription->toArray(),
|
'subscription' => $this->subscription->hashed_id,
|
||||||
'client' => $this->client_subscription->client->toArray(),
|
'client' => $this->client_subscription->client->hashed_id,
|
||||||
];
|
];
|
||||||
|
|
||||||
$body = array_merge($body, $context);
|
$body = array_merge($body, $context);
|
||||||
|
@ -65,6 +65,7 @@ class SubscriptionTransformer extends EntityTransformer
|
|||||||
'created_at' => (int)$subscription->created_at,
|
'created_at' => (int)$subscription->created_at,
|
||||||
'updated_at' => (int)$subscription->updated_at,
|
'updated_at' => (int)$subscription->updated_at,
|
||||||
'archived_at' => (int)$subscription->deleted_at,
|
'archived_at' => (int)$subscription->deleted_at,
|
||||||
|
'plan_map' => '', //@deprecated 03/04/2021
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user