8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 900ca02 commit b738ac1Copy full SHA for b738ac1
.apigentools-info
@@ -4,8 +4,8 @@
4
"spec_versions": {
5
"v2": {
6
"apigentools_version": "1.2.0",
7
- "regenerated": "2020-06-22 14:07:46.554362",
8
- "spec_repo_commit": "ab1acf2"
+ "regenerated": "2020-09-15 10:19:56.884903",
+ "spec_repo_commit": "4b92779"
9
}
10
11
src/ApiClient.js
@@ -331,7 +331,7 @@ class ApiClient {
331
var data = response.body;
332
if (data == null || (typeof data === 'object' && typeof data.length === 'undefined' && !Object.keys(data).length)) {
333
// SuperAgent does not always produce a body; use the unparsed response as a fallback
334
- data = response.text;
+ data = JSON.parse(response.text);
335
336
337
return ApiClient.convertToType(data, returnType);
0 commit comments