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 delete-discount.ts

Kiran K714be7af7a60
diff --git a/apps/web/lib/api/partners/delete-discount.ts b/apps/web/lib/api/partners/delete-discount.ts
index 74ddba713b..b1dfc22ce5 100644
--- a/apps/web/lib/api/partners/delete-discount.ts
+++ b/apps/web/lib/api/partners/delete-discount.ts
@@ -17,7 +17,7 @@ export async function deleteDiscount({
Discount,
"createdAt" | "updatedAt" | "description" | "programId"
>;
- user?: Pick<User, "id" | "email">;
+ user?: Pick<User, "id" | "email">; // the user who deleted the discount
}) {
const programId = workspace.defaultProgramId!;