Skip to content

Commit

Permalink
Updated to v1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
tanaikech committed Mar 27, 2023
1 parent 38348f9 commit 3fdf339
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion BatchRequests.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,9 @@ function getBatchPath(name, version) {
temp = d_.split("--batch");
regex = /{[\S\s]+}/g;
if (!regex.test(d_)) {
tthrow(new Error("In this response data, JSON data is not returned. So, please try to use the option 'exportDataAsBlob: true' in the request object."));
console.log("# In this response data, JSON data is not returned. So, please try to use the option 'exportDataAsBlob: true' in the request object.");
console.log("# Raw response data is as follows.");
console.log(d_);
}
return temp.slice(1, temp.length - 1).map(function(e) {
if (regex.test(e)) {
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,4 +266,8 @@ If you have any questions and commissions for me, feel free to tell me.

1. An option of `exportDataAsBlob` was added to the request object to the method of `EDo()`. [Ref](https://github.com/tanaikech/BatchRequest#method-edo) When this option is used, the response values from the batch requests are returned as Blob. By this, for example, when you export Google Spreadsheet as PDF data using the batch requests, the PDF data can be retrieved as Blob.

- v1.2.2 (March 27, 2023)

1. A bug was removed.

[TOP](#top)

0 comments on commit 3fdf339

Please sign in to comment.