8000 Regenerate client from commit 4b92779 of spec repo by github-actions[bot] · Pull Request #43 · arduino/iot-client-js · GitHub
[go: up one dir, main page]

Skip to content

Regenerate client from commit 4b92779 of spec repo #43

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Regenerate client from commit 4b92779 of spec repo
  • Loading branch information
ArduinoBot committed Sep 15, 2020
commit fddb96b84fa2ed34690769685e04511ae04b98c1
4 changes: 2 additions & 2 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"spec_versions": {
"v2": {
"apigentools_version": "1.2.0",
"regenerated": "2020-06-22 14:07:46.554362",
"spec_repo_commit": "ab1acf2"
"regenerated": "2020-09-15 10:19:56.884903",
"spec_repo_commit": "4b92779"
}
}
}
2 changes: 1 addition & 1 deletion src/ApiClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ class ApiClient {
var data = response.body;
if (data == null || (typeof data === 'object' && typeof data.length === 'undefined' && !Object.keys(data).length)) {
// SuperAgent does not always produce a body; use the unparsed response as a fallback
data = response.text;
data = JSON.parse(response.text);
}

return ApiClient.convertToType(data, returnType);
Expand Down
0