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.

revert

Kiran K449724574b40
diff --git a/apps/web/lib/dots/deposit-funds.ts b/apps/web/lib/dots/deposit-funds.ts
index a3e79dd916..2c4f2a644d 100644
--- a/apps/web/lib/dots/deposit-funds.ts
+++ b/apps/web/lib/dots/deposit-funds.ts
@@ -33,7 +33,8 @@ export const depositFunds = async ({
const response = await dotsFetch(`/apps/${dotsAppId}/deposit`, {
method: "POST",
body: {
- amount: Number(amount) * 100, // The amount to deposit in cents
+ amount: Number(amount) * 100, // The amount to deposit in cents,
+ idempotency_key: crypto.randomUUID(),
},
});