From f801fc853793c7cb45d11467e8c85fca2cb90e05 Mon Sep 17 00:00:00 2001 From: Joachim Bauch Date: Thu, 7 Jan 2021 09:32:57 +0100 Subject: [PATCH] Include "meta" field in client OCS response (follow-up to #74). --- src/client/main.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/client/main.go b/src/client/main.go index e1c821d..8271201 100644 --- a/src/client/main.go +++ b/src/client/main.go @@ -459,6 +459,11 @@ func registerAuthHandler(router *mux.Router) { rawdata := json.RawMessage(data) payload := &signaling.OcsResponse{ Ocs: &signaling.OcsBody{ + Meta: signaling.OcsMeta{ + Status: "ok", + StatusCode: http.StatusOK, + Message: http.StatusText(http.StatusOK), + }, Data: &rawdata, }, }