protocol: fix data type for event errorcode, should be an int

This commit is contained in:
Michael Marineau 2017-06-06 17:03:32 -07:00
parent 03222d488c
commit 9ed95f2e49

View file

@ -142,7 +142,7 @@ type PingRequest struct {
type EventRequest struct { type EventRequest struct {
Type EventType `xml:"eventtype,attr"` Type EventType `xml:"eventtype,attr"`
Result EventResult `xml:"eventresult,attr"` Result EventResult `xml:"eventresult,attr"`
ErrorCode string `xml:"errorcode,attr,omitempty"` ErrorCode int `xml:"errorcode,attr,omitempty"`
NextVersion string `xml:"nextversion,attr,omitempty"` NextVersion string `xml:"nextversion,attr,omitempty"`
PreviousVersion string `xml:"previousversion,attr,omitempty"` PreviousVersion string `xml:"previousversion,attr,omitempty"`
} }