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.

Label the partner sync results in the release summary log.

Rafi155656191afc
diff --git a/apps/web/lib/api/fraud/release-all-hold-commissions.ts b/apps/web/lib/api/fraud/release-all-hold-commissions.ts
index 8c6dcd2938..8f81d6ccf0 100644
--- a/apps/web/lib/api/fraud/release-all-hold-commissions.ts
+++ b/apps/web/lib/api/fraud/release-all-hold-commissions.ts
@@ -111,7 +111,10 @@ export async function releaseAllHoldCommissions({
console.log(
`Summary of releaseAllHoldCommissions: ${JSON.stringify(
- ["trackCommissionStatusUpdate"].map((step, index) => ({
+ [
+ "trackCommissionStatusUpdate",
+ ...partnerIds.map((partnerId) => `syncTotalCommissions:${partnerId}`),
+ ].map((step, index) => ({
step,
result: results[index],
})),