mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-05-19 14:06:32 +02:00
Include "meta" field in client OCS response (follow-up to #74).
This commit is contained in:
parent
fd96d4e506
commit
f801fc8537
|
@ -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…
Reference in a new issue