mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-29 08:18:27 +00:00
Expose the keys via SS API
This commit is contained in:
parent
4e36090846
commit
9a541a03fc
1 changed files with 8 additions and 2 deletions
|
@ -71,8 +71,14 @@ func QueryDeviceKeys(
|
||||||
return util.JSONResponse{
|
return util.JSONResponse{
|
||||||
Code: 200,
|
Code: 200,
|
||||||
JSON: struct {
|
JSON: struct {
|
||||||
DeviceKeys interface{} `json:"device_keys"`
|
DeviceKeys interface{} `json:"device_keys"`
|
||||||
}{queryRes.DeviceKeys},
|
MasterKeys interface{} `json:"master_keys"`
|
||||||
|
SelfSigningKeys interface{} `json:"self_signing_keys"`
|
||||||
|
}{
|
||||||
|
queryRes.DeviceKeys,
|
||||||
|
queryRes.MasterKeys,
|
||||||
|
queryRes.SelfSigningKeys,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue