Skip to content

Commit 2d4f4de

Browse files
committed
fix(credit_billing): logs
1 parent ae0d705 commit 2d4f4de

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

apps/api/src/services/billing/credit_billing.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ export async function supaBillTeam(
4343
const _logger = (__logger ?? logger).child({
4444
module: "credit_billing",
4545
method: "supaBillTeam",
46+
teamId: team_id,
47+
subscriptionId: subscription_id,
48+
credits,
4649
});
4750

4851
if (team_id === "preview") {
4952
return { success: true, message: "Preview team, no credits used" };
5053
}
51-
_logger.info(`Billing team ${team_id} for ${credits} credits`, {
52-
team_id,
53-
credits,
54-
});
54+
_logger.info(`Billing team ${team_id} for ${credits} credits`);
5555

5656
const { data, error } = await supabase_service.rpc("bill_team_w_extract_3", {
5757
_team_id: team_id,

0 commit comments

Comments
 (0)