Fixed invalid JSON payloads (making API requests fail in particular) (#1522)

This commit is contained in:
Cyril Dangerville 2018-08-04 00:26:48 +02:00 committed by Curtis Castrapel
parent 1edb964da9
commit 7f821abfef
1 changed files with 4 additions and 2 deletions

View File

@ -90,7 +90,7 @@ class AuthoritiesList(AuthenticatedResource):
"owner": "secure@example.com", "owner": "secure@example.com",
"id": 43, "id": 43,
"description": "This is the ROOT certificate for the TestAuthority certificate authority." "description": "This is the ROOT certificate for the TestAuthority certificate authority."
} }],
"total": 1 "total": 1
} }
@ -136,7 +136,7 @@ class AuthoritiesList(AuthenticatedResource):
"sensitivity": "medium", "sensitivity": "medium",
"keyType": "RSA2048", "keyType": "RSA2048",
"plugin": { "plugin": {
"slug": "cloudca-issuer", "slug": "cloudca-issuer"
}, },
"name": "TimeTestAuthority5", "name": "TimeTestAuthority5",
"owner": "secure@example.com", "owner": "secure@example.com",
@ -149,6 +149,7 @@ class AuthoritiesList(AuthenticatedResource):
}, },
"custom": [] "custom": []
} }
}
**Example response**: **Example response**:
@ -499,6 +500,7 @@ class AuthorityVisualizations(AuthenticatedResource):
{"name": "MergeEdge", "size": 743} {"name": "MergeEdge", "size": 743}
] ]
} }
]
} }
]} ]}
""" """