Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

remove test-related columns in transformLink for now

Steven Teycf1bd1e8621c
diff --git a/apps/web/lib/api/links/utils/transform-link.ts b/apps/web/lib/api/links/utils/transform-link.ts
index 8f0472a9f7..5c73f546a9 100644
--- a/apps/web/lib/api/links/utils/transform-link.ts
+++ b/apps/web/lib/api/links/utils/transform-link.ts
@@ -23,7 +23,15 @@ export const transformLink = (
}
// remove webhooks array, dashboard from link
- const { webhooks, dashboard, ...rest } = link;
+ const {
+ webhooks,
+ dashboard,
+ // TODO: Add these back for PR #2173
+ testCompletedAt,
+ testStartedAt,
+ testVariants,
+ ...rest
+ } = link;
return {
...rest,