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.

increase reservedBalance

Steven Tey3b1a26013e20
diff --git a/apps/web/app/(ee)/api/cron/trigger-withdrawal/route.ts b/apps/web/app/(ee)/api/cron/trigger-withdrawal/route.ts
index a6aa2a7571..66119c6f37 100644
--- a/apps/web/app/(ee)/api/cron/trigger-withdrawal/route.ts
+++ b/apps/web/app/(ee)/api/cron/trigger-withdrawal/route.ts
@@ -89,7 +89,7 @@ export async function GET(req: Request) {
balanceToWithdraw: `${currencyFormatter(balanceToWithdraw / 100)}`,
});
- const reservedBalance = 50000; // keep at least $500 in the account
+ const reservedBalance = 30_000_00; // keep at least $30,000 in the account
if (balanceToWithdraw <= reservedBalance) {
return logAndRespond(
`Balance to withdraw is less than ${currencyFormatter(reservedBalance / 100)}, skipping...`,