Skip to content

Commit 7090526

Browse files
committed
Remove individual analytics page and fix Tinybird usage
1 parent 06d0060 commit 7090526

File tree

2 files changed

+2
-138
lines changed

2 files changed

+2
-138
lines changed

apps/web/app/(org)/dashboard/analytics/s/[id]/page.tsx

Lines changed: 0 additions & 137 deletions
This file was deleted.

apps/web/app/api/analytics/track/route.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ export async function POST(request: NextRequest) {
8181
return;
8282
}
8383

84-
const tinybird = yield* Effect.service(Tinybird);
84+
// @ts-expect-error - Tinybird service can be yielded directly
85+
const tinybird = yield* Tinybird;
8586
yield* tinybird.appendEvents([
8687
{
8788
timestamp: timestamp.toISOString(),

0 commit comments

Comments
 (0)