googleworkspace / googleworkspace/apps-script-samples
People
Open
@jpoehnelt is already working on this.
Since Jun 6, 2023.
- Dominant language
- JavaScript
- Stars
- 5.2k
- Forks
- 2k
- PR merge metrics
- No merged PRs in 30d
Description
Summary
On "apps-script-samples/people/quickstart/quickstart.gs" ,if a "person" have no "names" cause error.
so I want to add this conditional expression.
if (person.names && person.names.length === 0) {
console.log('No display name found for connection.');
return;
}
if (!person.names || person.names && person.names.length === 0) {
console.log('No display name found for connection.');
return;
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.