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

Steven Tey097a68c8bb4b
diff --git a/apps/web/lib/actions/partners/create-dots-withdrawal.ts b/apps/web/lib/actions/partners/create-dots-withdrawal.ts
index 7c4460bb08..36e0524757 100644
--- a/apps/web/lib/actions/partners/create-dots-withdrawal.ts
+++ b/apps/web/lib/actions/partners/create-dots-withdrawal.ts
@@ -35,7 +35,6 @@ export const createDotsWithdrawalAction = authPartnerActionClient
amountToWithdraw > FREE_WITHDRAWAL_MINIMUM_BALANCE
? "platform"
: "user",
- idempotencyKey: `withdrawal_${partner.id}`,
});
return response;
diff --git a/apps/web/lib/dots/create-withdrawal.ts b/apps/web/lib/dots/create-withdrawal.ts
index c636988dfe..d9eafd8362 100644
--- a/apps/web/lib/dots/create-withdrawal.ts
+++ b/apps/web/lib/dots/create-withdrawal.ts
@@ -6,13 +6,11 @@ export const createWithdrawal = async ({
amount,
platform,
payoutFeeParty,
- idempotencyKey,
}: {
dotsUserId: string;
amount: number;
platform: DotsPayoutPlatform;
payoutFeeParty?: "platform" | "user";
- idempotencyKey: string;
}) => {
return await dotsFetch("/payouts", {
method: "POST",
@@ -22,7 +20,6 @@ export const createWithdrawal = async ({
amount,
platform,
payout_fee_party: payoutFeeParty,
- idempotency_key: idempotencyKey,
},
});
};