Skip to content

Commit 57f91c7

Browse files
authored
Fix calendar example.
1 parent 9e23a96 commit 57f91c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

advanced/calendar.gs

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function createEvent() {
6464
colorId: 11
6565
};
6666
event = Calendar.Events.insert(event, calendarId);
67-
Logger.log('Event ID: ' + event.getId());
67+
Logger.log('Event ID: ' + event.id);
6868
}
6969

7070
/**

0 commit comments

Comments
 (0)