fix falsey bool json marshalling
MODIFY
waiting_room.go
waiting_room.go
@@ -53,7 +53,7 @@ type WaitingRoomEvent struct {
NewUsersPerMinute int `json:"new_users_per_minute,omitempty"`
TotalActiveUsers int `json:"total_active_users,omitempty"`
SessionDuration int `json:"session_duration,omitempty"`
- DisableSessionRenewal bool `json:"disable_session_renewal,omitempty"`
+ DisableSessionRenewal *bool `json:"disable_session_renewal,omitempty"`
Suspended bool `json:"suspended"`
ShuffleAtEventStart bool `json:"shuffle_at_event_start"`
}

MODIFY
waiting_room_test.go
waiting_room_test.go
@@ -105,7 +105,7 @@ var waitingRoomEvent = WaitingRoomEvent{
NewUsersPerMinute: 2000,
TotalActiveUsers: 2500,
SessionDuration: 0,
- DisableSessionRenewal: false,
+ DisableSessionRenewal: nil,
QueueingMethod: "random",
CustomPageHTML: "{{#waitTimeKnown}} {{waitTime}} mins {{/waitTimeKnown}} {{^waitTimeKnown}} Event is prequeueing / Queue all enabled {{/waitTimeKnown}}",
}

fix falsey bool json marshalling