From 922520cefbdef325b14faccd6f364267faf6a57d Mon Sep 17 00:00:00 2001 From: Matt Aitken Date: Wed, 13 Dec 2023 18:57:14 +0000 Subject: [PATCH] Fix for the overage estimation on the usage page always being zero --- apps/webapp/app/presenters/OrgUsagePresenter.server.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/webapp/app/presenters/OrgUsagePresenter.server.ts b/apps/webapp/app/presenters/OrgUsagePresenter.server.ts index 6384cd8717..5f1c164260 100644 --- a/apps/webapp/app/presenters/OrgUsagePresenter.server.ts +++ b/apps/webapp/app/presenters/OrgUsagePresenter.server.ts @@ -132,13 +132,13 @@ export class OrgUsagePresenter { if (plans) { const estimationResult = estimate({ - usage: { currentRunCount: runsCount }, + usage: { runs: runsCount }, plans: [plans.free, plans.paid], }); runCostEstimation = estimationResult?.cost.runsCost; const projectedEstimationResult = estimate({ - usage: { currentRunCount: projectedRunsCount }, + usage: { runs: projectedRunsCount }, plans: [plans.free, plans.paid], }); projectedRunCostEstimation = projectedEstimationResult?.cost.runsCost;