1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Subscriptions

This commit is contained in:
David Bomba 2021-04-05 08:37:01 +10:00
parent bf71acfe2d
commit c814a754c3
2 changed files with 3 additions and 2 deletions

View File

@ -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);

View File

@ -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
];
}