fix: filter active in news
This commit is contained in:
@@ -51,7 +51,12 @@ type NewsUpdate struct {
|
||||
LiveAt time.Time `json:"live_at"`
|
||||
}
|
||||
|
||||
type Filter struct {
|
||||
Category, Tags, Active string
|
||||
}
|
||||
|
||||
type NewsFilter struct {
|
||||
Tags []string
|
||||
Category []string
|
||||
Active string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user