Fixup review comments

This commit is contained in:
Erik Johnston 2019-08-23 14:52:11 +01:00
parent 62fb643cdc
commit 7af5a63063
3 changed files with 6 additions and 6 deletions

View file

@ -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))