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 create-fraud-events.ts

Kiran K0f491d331cc3
diff --git a/apps/web/lib/api/fraud/create-fraud-events.ts b/apps/web/lib/api/fraud/create-fraud-events.ts
index d554c3442d..a20cbc99bd 100644
--- a/apps/web/lib/api/fraud/create-fraud-events.ts
+++ b/apps/web/lib/api/fraud/create-fraud-events.ts
@@ -139,8 +139,10 @@ export async function createFraudEvents(fraudEvents: CreateFraudEventInput[]) {
id,
},
data: {
- eventCount: { increment: count },
lastEventAt: now,
+ eventCount: {
+ increment: count,
+ },
},
}),
),