Browse Source

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

pull/75/head
Joachim Bauch 3 months ago
parent
commit
f801fc8537
No known key found for this signature in database GPG Key ID: 77C1D22D53E15F02
  1. 5
      src/client/main.go

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

Loading…
Cancel
Save