From 24e1bdec1bdd5e7e88805b6d513351de8de7437c Mon Sep 17 00:00:00 2001 From: Nicolas Date: Fri, 26 Apr 2024 10:14:29 -0700 Subject: [PATCH 1/2] Update credit_billing.ts --- apps/api/src/services/billing/credit_billing.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/services/billing/credit_billing.ts b/apps/api/src/services/billing/credit_billing.ts index bf5be60..165d4dd 100644 --- a/apps/api/src/services/billing/credit_billing.ts +++ b/apps/api/src/services/billing/credit_billing.ts @@ -1,7 +1,7 @@ import { withAuth } from "../../lib/withAuth"; import { supabase_service } from "../supabase"; -const FREE_CREDITS = 100; +const FREE_CREDITS = 500; export async function billTeam(team_id: string, credits: number) { return withAuth(supaBillTeam)(team_id, credits); From d210a57a9bfe25993bd63f2c253cdf646f1cf158 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Fri, 26 Apr 2024 10:24:36 -0700 Subject: [PATCH 2/2] Update credit_billing.ts --- apps/api/src/services/billing/credit_billing.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/services/billing/credit_billing.ts b/apps/api/src/services/billing/credit_billing.ts index 165d4dd..73c0890 100644 --- a/apps/api/src/services/billing/credit_billing.ts +++ b/apps/api/src/services/billing/credit_billing.ts @@ -1,7 +1,7 @@ import { withAuth } from "../../lib/withAuth"; import { supabase_service } from "../supabase"; -const FREE_CREDITS = 500; +const FREE_CREDITS = 300; export async function billTeam(team_id: string, credits: number) { return withAuth(supaBillTeam)(team_id, credits);