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 import-commissions.ts

Kiran Ke6aab193a9cd
diff --git a/apps/web/lib/rewardful/import-commissions.ts b/apps/web/lib/rewardful/import-commissions.ts
index 52482736f7..8bda17517c 100644
--- a/apps/web/lib/rewardful/import-commissions.ts
+++ b/apps/web/lib/rewardful/import-commissions.ts
@@ -223,7 +223,7 @@ async function createCommission({
where: { id: workspace.id },
data: {
usage: { increment: 1 },
- salesUsage: { increment: sale.sale_amount_cents },
+ // salesUsage: { increment: sale.sale_amount_cents },
},
}),
]);