wip: zen black

This commit is contained in:
Frank
2026-01-22 16:59:32 -05:00
parent fdac21688c
commit 5f3ab9395f
17 changed files with 1697 additions and 418 deletions

View File

@@ -669,7 +669,7 @@ export async function handler(
...(authInfo.subscription
? (() => {
const plan = authInfo.billing.subscription!.plan
const black = BlackData.get({ plan })
const black = BlackData.getLimits({ plan })
const week = getWeekBounds(new Date())
const rollingWindowSeconds = black.rollingWindow * 3600
return [