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 utils.ts

Kiran K02fabdcafe38
diff --git a/apps/web/lib/api/fraud/utils.ts b/apps/web/lib/api/fraud/utils.ts
index 987e47dfa7..6fee83668b 100644
--- a/apps/web/lib/api/fraud/utils.ts
+++ b/apps/web/lib/api/fraud/utils.ts
@@ -147,7 +147,7 @@ function getIdentityFieldsForRule({
// This determines which events should be grouped together.
// For partnerDuplicatePayoutMethod: groups by payoutMethodHash (multiple partners can share same group)
// For other rules: groups by partnerId (one group per partner)
-export async function createFraudGroupHash({
+export function createFraudGroupHash({
programId,
partnerId,
type,