Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Update issue_credits.ts

Nicolas126b46ee2c16
diff --git a/apps/api/src/services/billing/issue_credits.ts b/apps/api/src/services/billing/issue_credits.ts
index ce84db1bb..2ca057dda 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) {