Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
lint
  • Loading branch information
waleedlatif1 committed Mar 25, 2026
commit d4b159308ab1ee2c1b044e23a15341658e9a1f7a
5 changes: 4 additions & 1 deletion apps/sim/lib/billing/core/usage-log.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,10 @@ export async function recordUsage(params: RecordUsageParams): Promise<void> {
const totalCost = validEntries.reduce((sum, e) => sum + e.cost, 0)

// Nothing to write: no cost entries and no counter increments
if (validEntries.length === 0 && (!additionalStats || Object.keys(additionalStats).length === 0)) {
if (
validEntries.length === 0 &&
(!additionalStats || Object.keys(additionalStats).length === 0)
) {
return
}
Comment thread
waleedlatif1 marked this conversation as resolved.

Expand Down
Loading