fix(admin): pastDueSubscriptions ins stats-JSON (Feld hatte gefehlt)
Der Edit im vorigen Commit (7c100e9) hatte die const angelegt, das Feld aber
nicht in die Antwort gehängt → pastDue war im Frontend undefined.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -51,6 +51,7 @@ adminRouter.get("/stats", async (_req, res) => {
|
|||||||
instances: instances.n,
|
instances: instances.n,
|
||||||
activeInstances: activeInst.n,
|
activeInstances: activeInst.n,
|
||||||
suspendedInstances: suspendedInst.n,
|
suspendedInstances: suspendedInst.n,
|
||||||
|
pastDueSubscriptions: pastDue.n,
|
||||||
mrrChf: mrr,
|
mrrChf: mrr,
|
||||||
arrChf: mrr * 12,
|
arrChf: mrr * 12,
|
||||||
byPlan, // { solo: {count,revenue,name}, ... }
|
byPlan, // { solo: {count,revenue,name}, ... }
|
||||||
|
|||||||
Reference in New Issue
Block a user