diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-08-02 17:28:01 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-08-02 17:28:01 +0200 |
| commit | c8980de41a64922eb27e3b43be1ba1dcfe5a274c (patch) | |
| tree | db5a9f6ef2e418a33964c9a3c24fd0265b915b04 /apps/web/src/lib/waitlist.ts | |
| parent | ae54aff1a9762ceb9e42a534c29c584bbf18d6d5 (diff) | |
| download | opencut-c8980de41a64922eb27e3b43be1ba1dcfe5a274c.tar.gz | |
refactor: remove all waitlist-related code
Diffstat (limited to 'apps/web/src/lib/waitlist.ts')
| -rw-r--r-- | apps/web/src/lib/waitlist.ts | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/apps/web/src/lib/waitlist.ts b/apps/web/src/lib/waitlist.ts deleted file mode 100644 index 43a620b0..00000000 --- a/apps/web/src/lib/waitlist.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { db, sql, waitlist } from "@opencut/db"; - -export async function getWaitlistCount() { - try { - const result = await db - .select({ count: sql<number>`count(*)` }) - .from(waitlist); - return result[0]?.count || 0; - } catch (error) { - console.error("Failed to fetch waitlist count:", error); - return 0; - } -} |
