diff options
author | Giovane <giovaneliberato@gmail.com> | 2016-03-01 16:21:23 -0300 |
---|---|---|
committer | Giovane <giovaneliberato@gmail.com> | 2016-03-01 16:22:53 -0300 |
commit | e74cf4898f0274de22d5e11186af664f9f5f2003 (patch) | |
tree | 4c432a3396823b555f0c6f498b2bc10651867943 /service/pixelated/resources | |
parent | 1f613c23c16f6b34bcfd064791a3da7591ac19da (diff) |
Fix tests after change on OpenPGPKey.get_json API
- The main identifier of a key now is the fingerprint, not the id
anymore
- The address is not required anymore when creating the json
Diffstat (limited to 'service/pixelated/resources')
-rw-r--r-- | service/pixelated/resources/keys_resource.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/pixelated/resources/keys_resource.py b/service/pixelated/resources/keys_resource.py index d6f469fe..9075ab9e 100644 --- a/service/pixelated/resources/keys_resource.py +++ b/service/pixelated/resources/keys_resource.py @@ -17,7 +17,7 @@ class KeysResource(BaseResource): if key.private: respond_json_deferred(None, request, status_code=401) else: - respond_json_deferred(key.get_json(), request) + respond_json_deferred(key.get_active_json(), request) def key_not_found(_): respond_json_deferred(None, request, status_code=404) |