mirror of
https://github.com/hrfee/jfa-go.git
synced 2026-01-18 16:47:42 +01:00
activity: allow multiple types in route filter
This commit is contained in:
@@ -443,10 +443,10 @@ type ActivityDTO struct {
|
||||
}
|
||||
|
||||
type GetActivitiesDTO struct {
|
||||
Type string `json:"type"` // Type of activity to get. Leave blank for all.
|
||||
Limit int `json:"limit"`
|
||||
Page int `json:"page"` // zero-indexed
|
||||
Ascending bool `json:"ascending"`
|
||||
Type []string `json:"type"` // Types of activity to get. Leave blank for all.
|
||||
Limit int `json:"limit"`
|
||||
Page int `json:"page"` // zero-indexed
|
||||
Ascending bool `json:"ascending"`
|
||||
}
|
||||
|
||||
type GetActivitiesRespDTO struct {
|
||||
|
||||
Reference in New Issue
Block a user