fix(admin): resolve CI lint and user subscriptions regression

This commit is contained in:
xvhuan
2026-03-04 14:07:17 +08:00
parent 80ae592c23
commit f6fe5b552d
4 changed files with 15 additions and 10 deletions

View File

@@ -24,7 +24,8 @@ type UserListFilters struct {
Attributes map[int64]string // Custom attribute filters: attributeID -> value
// IncludeSubscriptions controls whether ListWithFilters should load active subscriptions.
// For large datasets this can be expensive; admin list pages should enable it on demand.
IncludeSubscriptions bool
// nil means not specified (default: load subscriptions for backward compatibility).
IncludeSubscriptions *bool
}
type UserRepository interface {