Merge pull request #985 from automatisch/show-payment-plan-name

feat: show current plan name in usage information
This commit is contained in:
Ömer Faruk Aydın
2023-03-07 23:03:44 +01:00
committed by GitHub
5 changed files with 13 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ const getUsageData = async (
.throwIfNotFound();
const computedUsageData = {
name: paymentPlan.name,
allowedTaskCount: paymentPlan.taskCount,
consumedTaskCount: usageData.consumedTaskCount,
remainingTaskCount: paymentPlan.taskCount - usageData.consumedTaskCount,

View File

@@ -470,6 +470,7 @@ type GetAutomatischInfo {
}
type GetUsageData {
name: String
allowedTaskCount: Int
consumedTaskCount: Int
remainingTaskCount: Int