From 075d926772334c1b6ef354c63d454652313edebe Mon Sep 17 00:00:00 2001 From: Paxx Date: Thu, 29 Jun 2023 15:55:39 +0200 Subject: [PATCH] updated the start/stop record response model --- ovenmedia/response.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ovenmedia/response.go b/ovenmedia/response.go index acaf5d4..abc7cfb 100644 --- a/ovenmedia/response.go +++ b/ovenmedia/response.go @@ -192,7 +192,7 @@ type ResponseStats struct { */ type ResponseRecordingStart struct { BaseResponseOK - Response []ResponseRecording `json:"response"` + Response ResponseRecording `json:"response"` } type ResponseRecording struct { @@ -211,5 +211,3 @@ type ResponseRecording struct { SegmentationRule string `json:"segmentationRule"` CreatedTime string `json:"createdTime"` } - -//