mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
Added marked_for_deletion and billing_plan_downgrade
to hamster export
This commit is contained in:
parent
6bd810cb3a
commit
c116de29e1
1 changed files with 2 additions and 1 deletions
|
|
@ -344,7 +344,6 @@ class Hamster extends Action
|
||||||
/**
|
/**
|
||||||
* @param Document $organization
|
* @param Document $organization
|
||||||
* @param Database $dbForConsole
|
* @param Database $dbForConsole
|
||||||
* @throws \Utopia\Database\Exception
|
|
||||||
*/
|
*/
|
||||||
private function getStatsForOrganization(Document $organization, Database $dbForConsole): void
|
private function getStatsForOrganization(Document $organization, Database $dbForConsole): void
|
||||||
{
|
{
|
||||||
|
|
@ -380,6 +379,8 @@ class Hamster extends Action
|
||||||
$statsPerOrganization['billing_start_date'] = $billingStartDate;
|
$statsPerOrganization['billing_start_date'] = $billingStartDate;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$statsPerOrganization['marked_for_deletion'] = $membership->getAttribute('markedForDeletion', 0);
|
||||||
|
$statsPerOrganization['billing_plan_downgrade'] = $billingPlanDowngrade;
|
||||||
|
|
||||||
$userId = $membership->getAttribute('userId', null);
|
$userId = $membership->getAttribute('userId', null);
|
||||||
if ($userId) {
|
if ($userId) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue