Skip to content

Commit

Permalink
make rotation_end_time field optional
Browse files Browse the repository at this point in the history
  • Loading branch information
dheeruk12 committed Nov 16, 2023
1 parent bf71044 commit 5fabcb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/schedules.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ type CreateLayers struct {
ShiftLength int `json:"shift_length"`
Name string `json:"name"`
RotationStartTime string `json:"rotation_start_time"`
RotationEndTime string `json:"rotation_end_time"`
RotationEndTime string `json:"rotation_end_time,omitempty"`
RestrictionType int `json:"restriction_type,omitempty"`
Users []CreateUserLayer `json:"users"`
Restrictions []Restrictions `json:"restrictions"`
Expand Down

0 comments on commit 5fabcb8

Please sign in to comment.