mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-04 17:55:06 -04:00
Fixup review comments
This commit is contained in:
parent
62fb643cdc
commit
7af5a63063
3 changed files with 6 additions and 6 deletions
|
@ -14,7 +14,7 @@
|
|||
|
||||
import logging
|
||||
|
||||
from canonicaljson import json
|
||||
from canonicaljson import encode_canonical_json, json
|
||||
from signedjson.sign import sign_json
|
||||
|
||||
from twisted.internet import defer
|
||||
|
@ -227,4 +227,4 @@ class RemoteKey(DirectServeResource):
|
|||
|
||||
results = {"server_keys": signed_keys}
|
||||
|
||||
respond_with_json_bytes(request, 200, json.dumps(results).encode("utf-8"))
|
||||
respond_with_json_bytes(request, 200, encode_canonical_json(results))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue