From d1b78fa51abad3b28f55ee37eb723fb8e0989879 Mon Sep 17 00:00:00 2001 From: Cedric Verstraeten Date: Tue, 20 Aug 2024 09:00:32 +0200 Subject: [PATCH] make array of relayoutputs and digitalinputs --- device/types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {