From 126b46ee2c16cc7d734d75bc73c090444c29afd1 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Sun, 15 Dec 2024 15:53:24 -0300 Subject: [PATCH] Update issue_credits.ts --- apps/api/src/services/billing/issue_credits.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/api/src/services/billing/issue_credits.ts b/apps/api/src/services/billing/issue_credits.ts index ce84db1b..2ca057dd 100644 --- a/apps/api/src/services/billing/issue_credits.ts +++ b/apps/api/src/services/billing/issue_credits.ts @@ -9,6 +9,7 @@ export async function issueCredits(team_id: string, credits: number) { status: "active", // indicates that this coupon was issued from auto recharge from_auto_recharge: true, + initial_credits: credits, }); if (error) {