Accept 'terminating'/'terminated' as room status.
@@ -14,7 +14,7 @@ type RoomPingPayload struct {
// RoomStatusPayload is the struct that defines the payload for the status route
type RoomStatusPayload struct {
- Status string `json:"status" valid:"in(ready|occupied),required"`
+ Status string `json:"status" valid:"in(ready|occupied|terminating|terminated),required"`
Timestamp int64 `json:"timestamp" valid:"int64,required"`
}
