diff --git a/device/types.go b/device/types.go index 521dc7c0..708b67e7 100644 --- a/device/types.go +++ b/device/types.go @@ -680,7 +680,7 @@ type GetRelayOutputs struct { } type GetRelayOutputsResponse struct { - RelayOutputs onvif.RelayOutput + RelayOutputs []onvif.RelayOutput } type GetDigitalInputs struct { @@ -688,7 +688,7 @@ type GetDigitalInputs struct { } type GetDigitalInputsResponse struct { - DigitalInputs onvif.DigitalInput + DigitalInputs []onvif.DigitalInput } type SetRelayOutputSettings struct {