protocol: fix data type for event errorcode, should be an int
This commit is contained in:
parent
03222d488c
commit
9ed95f2e49
1 changed files with 1 additions and 1 deletions
|
@ -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"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue