fix: get news by query category and tags filters
This commit is contained in:
@@ -49,3 +49,8 @@ type NewsUpdate struct {
|
||||
IsPremium bool `json:"is_premium"`
|
||||
LiveAt time.Time `json:"live_at"`
|
||||
}
|
||||
|
||||
type NewsFilter struct {
|
||||
Tags []string
|
||||
Category string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user