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-partner-commission.ts

Steven Teyfd146b94655b
diff --git a/apps/web/lib/partners/create-partner-commission.ts b/apps/web/lib/partners/create-partner-commission.ts
index 5368ed31ca..8bcbde88d1 100644
--- a/apps/web/lib/partners/create-partner-commission.ts
+++ b/apps/web/lib/partners/create-partner-commission.ts
@@ -93,7 +93,7 @@ export const createPartnerCommission = async ({
}
}
- // if first commission is fraud or canceled, we should not create a new commission
+ // if first commission is fraud or canceled, the commission will be set to fraud or canceled as well
if (
firstCommission.status === "fraud" ||
firstCommission.status === "canceled"