summaryrefslogtreecommitdiffstats
path: root/internal/models/osint.go
diff options
context:
space:
mode:
authors <[email protected]>2025-11-10 13:57:45 -0500
committers <[email protected]>2025-11-10 13:57:45 -0500
commit9a9e79f232b83d3bd2a816287272515863df1299 (patch)
treefdfc00eacabf3e1e679ce4ebbf5c47e4a086c22c /internal/models/osint.go
parent7c0f4b692c3b712bf4a0da3bbac008ff75c405de (diff)
downloaddborg-9a9e79f232b83d3bd2a816287272515863df1299.tar.gz
dborg-9a9e79f232b83d3bd2a816287272515863df1299.zip
refactor: add admin fields to account model and simplify credits structurev0.8.0
Diffstat (limited to 'internal/models/osint.go')
-rw-r--r--internal/models/osint.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/models/osint.go b/internal/models/osint.go
index d025836..6c2774e 100644
--- a/internal/models/osint.go
+++ b/internal/models/osint.go
@@ -72,8 +72,8 @@ type ShortlinksSearchParams struct {
}
type CreditsInfo struct {
- Used int `json:"used"`
- Remaining int `json:"remaining"`
+ Remaining int `json:"remaining"`
+ Unlimited bool `json:"unlimited"`
}
type BucketsSearchResponse struct {