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 calculate-earnings.ts

Kiran Kf7b876c9b2ed
diff --git a/apps/web/lib/api/sales/calculate-earnings.ts b/apps/web/lib/api/sales/calculate-earnings.ts
index 663652f584..db659c6c36 100644
--- a/apps/web/lib/api/sales/calculate-earnings.ts
+++ b/apps/web/lib/api/sales/calculate-earnings.ts
@@ -8,6 +8,7 @@ import {
/*
Calculate the commission earned for a sale
*/
+// TODO: Remove this
export const calculateSaleEarningsOld = ({
program,
partner,