reimplement date flag
This commit is contained in:
parent
64e2ee31e8
commit
4429a835e0
|
@ -42,6 +42,7 @@ func schedule(cmd *cobra.Command, args []string) {
|
||||||
opts := api.ScheduleApiScheduleOpts{
|
opts := api.ScheduleApiScheduleOpts{
|
||||||
TeamId: optional.NewInterface(teamIds),
|
TeamId: optional.NewInterface(teamIds),
|
||||||
SportId: optional.NewInterface([]int32{sportId}),
|
SportId: optional.NewInterface([]int32{sportId}),
|
||||||
|
Date: optional.NewString(date),
|
||||||
}
|
}
|
||||||
|
|
||||||
client := api.NewAPIClient(api.NewConfiguration())
|
client := api.NewAPIClient(api.NewConfiguration())
|
||||||
|
|
Loading…
Reference in New Issue