0

Update credit_billing.ts

This commit is contained in:
Nicolas 2024-04-26 10:24:36 -07:00
parent 24e1bdec1b
commit d210a57a9b

View File

@ -1,7 +1,7 @@
import { withAuth } from "../../lib/withAuth"; import { withAuth } from "../../lib/withAuth";
import { supabase_service } from "../supabase"; import { supabase_service } from "../supabase";
const FREE_CREDITS = 500; const FREE_CREDITS = 300;
export async function billTeam(team_id: string, credits: number) { export async function billTeam(team_id: string, credits: number) {
return withAuth(supaBillTeam)(team_id, credits); return withAuth(supaBillTeam)(team_id, credits);