Skip to content

Commit 7f3c8a5

Browse files
fix undefined list (#15435)
1 parent f6c95cc commit 7f3c8a5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

components/google_contacts/actions/list-contacts/list-contacts.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "google_contacts-list-contacts",
77
name: "List Contacts",
88
description: "Lists all contacts of the authenticated user. [See the documentation](https://developers.google.com/people/api/rest/v1/people.connections/list)",
9-
version: "0.0.4",
9+
version: "0.0.5",
1010
type: "action",
1111
props: {
1212
...common.props,
@@ -26,7 +26,7 @@ export default {
2626
const contacts = [];
2727
do {
2828
const {
29-
connections,
29+
connections = [],
3030
nextPageToken,
3131
} = await this.googleContacts.listContacts(client, params);
3232
params.pageToken = nextPageToken;

components/google_contacts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/google_contacts",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"description": "Pipedream Google Contacts Components",
55
"main": "google_contacts.app.mjs",
66
"keywords": [

0 commit comments

Comments
 (0)