Merge pull request #985 from automatisch/show-payment-plan-name
feat: show current plan name in usage information
This commit is contained in:
@@ -17,6 +17,7 @@ const getUsageData = async (
|
||||
.throwIfNotFound();
|
||||
|
||||
const computedUsageData = {
|
||||
name: paymentPlan.name,
|
||||
allowedTaskCount: paymentPlan.taskCount,
|
||||
consumedTaskCount: usageData.consumedTaskCount,
|
||||
remainingTaskCount: paymentPlan.taskCount - usageData.consumedTaskCount,
|
||||
|
@@ -470,6 +470,7 @@ type GetAutomatischInfo {
|
||||
}
|
||||
|
||||
type GetUsageData {
|
||||
name: String
|
||||
allowedTaskCount: Int
|
||||
consumedTaskCount: Int
|
||||
remainingTaskCount: Int
|
||||
|
Reference in New Issue
Block a user