mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 04:04:06 -08:00
⚡ Do not error even if no contacts found
This commit is contained in:
parent
556e8e9417
commit
66745033e6
|
@ -317,7 +317,8 @@ export class GoogleContacts implements INodeType {
|
|||
{},
|
||||
qs,
|
||||
);
|
||||
responseData = responseData.connections || responseData.results.map((result: IDataObject) => result.person);
|
||||
|
||||
responseData = responseData.connections || responseData.results?.map((result: IDataObject) => result.person) || [];
|
||||
}
|
||||
|
||||
if (!rawData) {
|
||||
|
|
Loading…
Reference in a new issue