Move limited flag to be account-level

This commit is contained in:
Zed
2025-02-05 00:34:50 +01:00
parent 28d3ed7d9f
commit 1aa9b0dba6
2 changed files with 22 additions and 31 deletions

View File

@@ -30,14 +30,14 @@ type
RateLimit* = object
remaining*: int
reset*: int
limited*: bool
limitedAt*: int
GuestAccount* = ref object
id*: int64
oauthToken*: string
oauthSecret*: string
pending*: int
limited*: bool
limitedAt*: int
apis*: Table[Api, RateLimit]
Error* = enum