mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
undo wrong commit
This commit is contained in:
1 parent
81b4a9deb8
commit
b8e22816ce
1 file changed
+3
-3
@@ -534,9 +534,9 @@ export async function checkForNewDevUpgradePro(org: Organization) {
|
||||
const now = new Date().getTime();
|
||||
const account = get(user);
|
||||
const accountCreated = new Date(account.$createdAt).getTime();
|
||||
// if (now - accountCreated < 1000 * 60 * 60 * 24 * 7) return;
|
||||
// const isDismissed = !!localStorage.getItem('newDevUpgradePro');
|
||||
// if (isDismissed) return;
|
||||
if (now - accountCreated < 1000 * 60 * 60 * 24 * 7) return;
|
||||
const isDismissed = !!localStorage.getItem('newDevUpgradePro');
|
||||
if (isDismissed) return;
|
||||
// check if coupon already applied
|
||||
try {
|
||||
await sdk.forConsole.billing.getCouponAccount(NEW_DEV_PRO_UPGRADE_COUPON);
|
||||
|
||||
Reference in new issue
Block a user