You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -44,6 +46,7 @@ export class OrgUsagePresenter {
44
46
gte: startOfLastMonth,
45
47
lt: startOfMonth,
46
48
},
49
+
internal: false,
47
50
},
48
51
});
49
52
@@ -63,7 +66,7 @@ export class OrgUsagePresenter {
63
66
month: string;
64
67
count: number;
65
68
}[]
66
-
>`SELECT TO_CHAR("createdAt", 'YYYY-MM') as month, COUNT(*) as count FROM "JobRun" WHERE "organizationId" = ${organization.id} AND "createdAt" >= NOW() - INTERVAL '6 months' GROUP BY month ORDER BY month ASC`;
69
+
>`SELECT TO_CHAR("createdAt", 'YYYY-MM') as month, COUNT(*) as count FROM "JobRun" WHERE "organizationId" = ${organization.id} AND "createdAt" >= NOW() - INTERVAL '6 months' AND "internal" = FALSE GROUP BY month ORDER BY month ASC`;
67
70
68
71
constchartData=chartDataRaw.map((obj)=>({
69
72
name: obj.month,
@@ -139,11 +142,13 @@ export class OrgUsagePresenter {
0 commit comments