mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-08-02 06:12:45 +00:00
Don't send nulls
This commit is contained in:
parent
9a541a03fc
commit
525c9e054f
2 changed files with 16 additions and 9 deletions
|
@ -72,8 +72,8 @@ func QueryDeviceKeys(
|
|||
Code: 200,
|
||||
JSON: struct {
|
||||
DeviceKeys interface{} `json:"device_keys"`
|
||||
MasterKeys interface{} `json:"master_keys"`
|
||||
SelfSigningKeys interface{} `json:"self_signing_keys"`
|
||||
MasterKeys interface{} `json:"master_keys,omitempty"`
|
||||
SelfSigningKeys interface{} `json:"self_signing_keys,omitempty"`
|
||||
}{
|
||||
queryRes.DeviceKeys,
|
||||
queryRes.MasterKeys,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue