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