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 migrate-duplicate-payout-fraud-events.ts

Kiran K4aea6845d097
diff --git a/apps/web/scripts/migrations/migrate-duplicate-payout-fraud-events.ts b/apps/web/scripts/migrations/migrate-duplicate-payout-fraud-events.ts
index 91acb6c723..e2f0a4439b 100644
--- a/apps/web/scripts/migrations/migrate-duplicate-payout-fraud-events.ts
+++ b/apps/web/scripts/migrations/migrate-duplicate-payout-fraud-events.ts
@@ -30,6 +30,8 @@ async function main() {
);
for (const fraudGroup of duplicatePayoutGroups) {
+ console.log(`Migrating fraud group ${fraudGroup.groupKey}...`);
+
// Get all fraud events for this groupKey (payout method hash)
const fraudEvents = await prisma.fraudEvent.findMany({
where: {