mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
chore: add missing events
This commit is contained in:
@@ -88,6 +88,7 @@
|
||||
org.$id,
|
||||
$changeOrganizationTier.couponCode
|
||||
);
|
||||
trackEvent(Submit.CreditRedeem);
|
||||
}
|
||||
|
||||
//Add budget
|
||||
|
||||
@@ -56,6 +56,12 @@
|
||||
);
|
||||
}
|
||||
|
||||
//Add coupon
|
||||
if ($createOrganization?.couponCode) {
|
||||
await sdk.forConsole.billing.addCredit(org.$id, $createOrganization.couponCode);
|
||||
trackEvent(Submit.CreditRedeem);
|
||||
}
|
||||
|
||||
//Add collaborators
|
||||
if ($createOrganization?.collaborators?.length) {
|
||||
$createOrganization.collaborators.forEach(async (collaborator) => {
|
||||
@@ -110,7 +116,8 @@
|
||||
paymentMethodId: null,
|
||||
collaborators: [],
|
||||
billingAddressId: null,
|
||||
taxId: null
|
||||
taxId: null,
|
||||
couponCode: null
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user