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.

update script

Steven Tey7a7a6e678aba
diff --git a/apps/web/scripts/backfill-shared-dashboards.ts b/apps/web/scripts/backfill-dashboards.ts
similarity index 97%
rename from apps/web/scripts/backfill-shared-dashboards.ts
rename to apps/web/scripts/backfill-dashboards.ts
index 0dba2eb060..600ba13677 100644
--- a/apps/web/scripts/backfill-shared-dashboards.ts
+++ b/apps/web/scripts/backfill-dashboards.ts
@@ -19,7 +19,6 @@ async function main() {
},
orderBy: {
clicks: "desc",
- createdAt: "desc",
},
take: 50,
});
@@ -30,9 +29,9 @@ async function main() {
data: {
id: createId({ prefix: "dash_" }),
linkId: link.id,
- showConversions: link.trackConversion,
projectId: link.projectId,
userId: link.userId,
+ showConversions: link.trackConversion,
},
});