mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Merge pull request #1776 from appwrite/fix-credits-not-updated
Fix: credits not applied
This commit is contained in:
1 file changed
+2
-1
@@ -148,9 +148,10 @@
|
||||
collaborators
|
||||
);
|
||||
}
|
||||
// Existing pro org
|
||||
// Existing pro org, apply credits
|
||||
else {
|
||||
org = selectedOrg;
|
||||
await sdk.forConsole.billing.addCredit(org.$id, couponData.code);
|
||||
}
|
||||
|
||||
if (!isOrganization(org) && org.status === 402) {
|
||||
|
||||
Reference in new issue
Block a user