Add parameter to enable adding Hangouts/Meet link toevent (#1111)

This commit is contained in:
Ross Scroggs
2020-03-06 03:09:17 -08:00
committed by GitHub
parent 9e0641d8e1
commit c1e7af620f

View File

@@ -3736,7 +3736,7 @@ def doCalendarAddEvent():
body['start']['timeZone'] = timeZone
if 'end' in body:
body['end']['timeZone'] = timeZone
gapi.call(cal.events(), 'insert', calendarId=calendarId, sendUpdates=sendUpdates, body=body)
gapi.call(cal.events(), 'insert', conferenceDataVersion=1, calendarId=calendarId, sendUpdates=sendUpdates, body=body)
def doCalendarModifySettings():
calendarId, cal = buildCalendarDataGAPIObject(sys.argv[2])