mirror of
https://github.com/zedeus/nitter.git
synced 2026-01-29 14:52:50 -05:00
Move limited flag to be account-level
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user