Fixed bug in gam calendars <CalendarEntity> import event icaluid <iCalUID> json <JSONdata>

This commit is contained in:
Ross Scroggs
2024-07-17 14:13:25 -07:00
parent 83117a1eca
commit 8bd30af109
10 changed files with 176 additions and 145 deletions

View File

@@ -2,6 +2,10 @@
Merged GAM-Team version
6.77.14
Fixed bug in `gam calendars <CalendarEntity> import event icaluid <iCalUID> json <JSONdata>` that caused an error.
6.77.13
Updated `gam <UserTypeEntity> print|show filecounts` to reflect that Shared Drives now

View File

@@ -36916,7 +36916,7 @@ def _getCalendarEventAttribute(myarg, body, parameters, function):
parameters['attendees'].append(addAttendee)
elif myarg == 'json':
jsonData = getJSON(EVENT_JSON_CLEAR_FIELDS)
if function == 'insert':
if function in {'insert', 'import'}:
body.update(jsonData)
clearJSONfields(body, EVENT_JSON_INSERT_CLEAR_FIELDS)
elif function == 'update':