Skip to content

Commit bfb27dc

Browse files
Update adminSDK/directory/quickstart.gs
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 4dc24a7 commit bfb27dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adminSDK/directory/quickstart.gs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function listUsers() {
3737
// Print the list of user's full name and email
3838
console.log('Users:');
3939
for (const user of users) {
40-
if (user.name) {
40+
if (user.name?.fullName) {
4141
console.log('%s (%s)', user.primaryEmail, user.name.fullName);
4242
} else {
4343
console.log('%s', user.primaryEmail);

0 commit comments

Comments
 (0)