Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

hot fix: read from old pipeline

Marc Seitzb5169be862b6
diff --git a/lib/tinybird/pipes.ts b/lib/tinybird/pipes.ts
index a226ba37..34677434 100644
--- a/lib/tinybird/pipes.ts
+++ b/lib/tinybird/pipes.ts
@@ -5,7 +5,7 @@ import { Tinybird } from "@chronark/zod-bird";
const tb = new Tinybird({ token: process.env.TINYBIRD_TOKEN! });
export const getTotalAvgPageDuration = tb.buildPipe({
- pipe: "get_total_average_page_duration__v4",
+ pipe: "get_total_average_page_duration__v3",
parameters: z.object({
documentId: z.string(),
excludedLinkIds: z.array(z.string()),
@@ -20,7 +20,7 @@ export const getTotalAvgPageDuration = tb.buildPipe({
});
export const getViewPageDuration = tb.buildPipe({
- pipe: "get_page_duration_per_view__v4",
+ pipe: "get_page_duration_per_view__v3",
parameters: z.object({
documentId: z.string(),
viewId: z.string(),