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

Steven Teybfcd5a0cceaf
diff --git a/apps/web/lib/zod/schemas/commissions.ts b/apps/web/lib/zod/schemas/commissions.ts
index f2a9bb1c2f..dcd01d2471 100644
--- a/apps/web/lib/zod/schemas/commissions.ts
+++ b/apps/web/lib/zod/schemas/commissions.ts
@@ -119,6 +119,6 @@ export const updateCommissionSchema = z.object({
.enum(["refunded", "duplicate", "canceled", "fraud"])
.optional()
.describe(
- "Useful for marking a commission as refunded, duplicate, canceled, or fraudulent. Paid commissions cannot be updated.",
+ "Useful for marking a commission as refunded, duplicate, canceled, or fraudulent. Paid commissions cannot be updated. Takes precedence over `amount` and `modifyAmount`.",
),
});