Skip to content

Commit

Permalink
fix invalid syntaxes
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianMindee committed Mar 11, 2024
1 parent 2904a37 commit b7638a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions creates/mindee_generated.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ module.exports = {
.split('/');
const apiOwner = splitUrl[0];
const apiName = splitUrl[1];
const response = enqueueAndParse(z, bundle.inputData.document, apiOwner, apiName, apiVersion, defaults.postHeaders, bundle.inputData.requestSettingsData.max_async_retries);
return promise.then((response) => JSON.parse(response.content));
const response = enqueueAndParse(z, bundle.inputData.document, apiOwner, apiName, apiVersion, defaults.postHeaders, 60);
return response.then((res) => JSON.parse(res.content));
},
sample: {
"api_request": {
Expand Down
3 changes: 0 additions & 3 deletions test/mindee.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ const bundle = {
oauth_token: process.env.OAUTH_TOKEN,
oauth_token_secret: process.env.OAUTH_TOKEN_SECRET,
},
requestSettingsData: {
max_async_retries: 60,
},
inputData: {},
};
zapier.tools.env.inject();
Expand Down

0 comments on commit b7638a9

Please sign in to comment.