Skip to content

Commit feac320

Browse files
authored
Apollo IO search-accounts bug fix (#17138)
* bug fix * pnpm-lock.yaml
1 parent fa2bc6d commit feac320

File tree

5 files changed

+6
-14
lines changed

5 files changed

+6
-14
lines changed

components/apollo_io/actions/search-accounts/search-accounts.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
name: "Search For Accounts",
77
description: "Search for accounts in Apollo.io. [See the documentation](https://apolloio.github.io/apollo-api-docs/?shell#search-for-accounts)",
88
type: "action",
9-
version: "0.0.5",
9+
version: "0.0.6",
1010
props: {
1111
app,
1212
search: {
@@ -40,7 +40,7 @@ export default {
4040
},
4141
},
4242
async run({ $ }) {
43-
const resourcesStream = this.app.getResourcesStream({
43+
const resourcesStream = this.app.getIterations({
4444
resourceFn: this.app.searchAccounts,
4545
resourceFnArgs: {
4646
params: {
@@ -53,7 +53,7 @@ export default {
5353
resourceName: "accounts",
5454
});
5555

56-
const accounts = await utils.streamIterator(resourcesStream);
56+
const accounts = await utils.iterate(resourcesStream);
5757

5858
$.export("$summary", `Successfully fetched ${accounts.length} accounts.`);
5959

components/apollo_io/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/apollo_io",
3-
"version": "0.5.2",
3+
"version": "0.5.3",
44
"description": "Pipedream Apollo.io Components",
55
"main": "apollo_io.app.mjs",
66
"keywords": [

components/issue_badge/issue_badge.app.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ export default {
88
console.log(Object.keys(this.$auth));
99
},
1010
},
11-
};
11+
};

components/limitless_ai/limitless_ai.app.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ export default {
88
console.log(Object.keys(this.$auth));
99
},
1010
},
11-
};
11+
};

pnpm-lock.yaml

Lines changed: 0 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)