diff options
| author | Frank <[email protected]> | 2026-01-08 20:11:42 -0500 |
|---|---|---|
| committer | Frank <[email protected]> | 2026-01-09 01:32:00 -0500 |
| commit | ab97a95032182d0de8bb6dd151612b90e1ba2863 (patch) | |
| tree | cfd03ba6089e68f8c6a05fa23db9f4a7007db766 /packages | |
| parent | a98d108d2e24165359b27a5bad38fe5f2f1e0770 (diff) | |
| download | opencode-ab97a95032182d0de8bb6dd151612b90e1ba2863.tar.gz opencode-ab97a95032182d0de8bb6dd151612b90e1ba2863.zip | |
wip: black
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/console/app/src/routes/workspace/[id]/graph-section.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/console/app/src/routes/workspace/[id]/graph-section.tsx b/packages/console/app/src/routes/workspace/[id]/graph-section.tsx index c8340286f..5df96c8fd 100644 --- a/packages/console/app/src/routes/workspace/[id]/graph-section.tsx +++ b/packages/console/app/src/routes/workspace/[id]/graph-section.tsx @@ -44,6 +44,7 @@ async function getCosts(workspaceID: string, year: number, month: number) { eq(UsageTable.workspaceID, workspaceID), gte(UsageTable.timeCreated, startDate), lte(UsageTable.timeCreated, endDate), + or(isNull(UsageTable.enrichment), sql`JSON_EXTRACT(${UsageTable.enrichment}, '$.plan') != 'sub'`), ), ) .groupBy(sql`DATE(${UsageTable.timeCreated})`, UsageTable.model, UsageTable.keyID) |
