summaryrefslogtreecommitdiffhomepage
path: root/packages/console/core/script/black-select-workspaces.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/console/core/script/black-select-workspaces.ts')
-rw-r--r--packages/console/core/script/black-select-workspaces.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/console/core/script/black-select-workspaces.ts b/packages/console/core/script/black-select-workspaces.ts
index f22478e1b..63bfab887 100644
--- a/packages/console/core/script/black-select-workspaces.ts
+++ b/packages/console/core/script/black-select-workspaces.ts
@@ -1,10 +1,10 @@
import { Database, eq, and, sql, inArray, isNull, count } from "../src/drizzle/index.js"
-import { BillingTable, SubscriptionPlan } from "../src/schema/billing.sql.js"
+import { BillingTable, BlackPlans } from "../src/schema/billing.sql.js"
import { UserTable } from "../src/schema/user.sql.js"
import { AuthTable } from "../src/schema/auth.sql.js"
-const plan = process.argv[2] as (typeof SubscriptionPlan)[number]
-if (!SubscriptionPlan.includes(plan)) {
+const plan = process.argv[2] as (typeof BlackPlans)[number]
+if (!BlackPlans.includes(plan)) {
console.error("Usage: bun foo.ts <count>")
process.exit(1)
}