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:
2026-05-31 12:54:37 +02:00
parent 7c100e98fa
commit ddc04796d5
+1
View File
@@ -51,6 +51,7 @@ adminRouter.get("/stats", async (_req, res) => {
instances: instances.n,
activeInstances: activeInst.n,
suspendedInstances: suspendedInst.n,
pastDueSubscriptions: pastDue.n,
mrrChf: mrr,
arrChf: mrr * 12,
byPlan, // { solo: {count,revenue,name}, ... }