Skip to content

Commit

Permalink
Merge pull request #21 from spring-lab/master
Browse files Browse the repository at this point in the history
fix ptz.types.SetPreset.PresetToken is optional
  • Loading branch information
crazybber authored Jul 26, 2022
2 parents d42cc33 + be3347f commit d8d0fc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ptz/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ type SetPreset struct {
XMLName string `xml:"tptz:SetPreset"`
ProfileToken onvif.ReferenceToken `xml:"tptz:ProfileToken"`
PresetName xsd.String `xml:"tptz:PresetName"`
PresetToken onvif.ReferenceToken `xml:"tptz:PresetToken"`
PresetToken onvif.ReferenceToken `xml:"tptz:PresetToken,omitempty"`
}

type SetPresetResponse struct {
Expand Down

0 comments on commit d8d0fc3

Please sign in to comment.