Include "meta" field in client OCS response (follow-up to #74).

This commit is contained in:
Joachim Bauch 2021-01-07 09:32:57 +01:00
parent fd96d4e506
commit f801fc8537
No known key found for this signature in database
GPG Key ID: 77C1D22D53E15F02
1 changed files with 5 additions and 0 deletions

View File

@ -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,
},
}