Expose the keys via SS API

This commit is contained in:
Neil Alexander 2021-07-28 15:59:27 +01:00
parent 4e36090846
commit 9a541a03fc
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -72,7 +72,13 @@ func QueryDeviceKeys(
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,
},
} }
} }