fix Host ID json name.

This commit is contained in:
Miroslav Šedivý 2020-11-30 21:27:43 +01:00
parent 5c0dee93ac
commit 2c7291324c

View File

@ -69,7 +69,7 @@ type MemberData struct {
type ControlHost struct {
Event string `json:"event,omitempty"`
HasHost bool `json:"has_host"`
HostID string `json:"id,omitempty"`
HostID string `json:"host_id,omitempty"`
}
// TODO: New.