mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-05 07:52:03 +00:00
wip: zen black
This commit is contained in:
parent
fdac21688c
commit
5f3ab9395f
17 changed files with 1697 additions and 418 deletions
|
|
@ -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 [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue