Added maybeUid to createEvent and createMeeting
This commit is contained in:
1 parent
4fb8e8285e
commit
b0ac65b0f6
3 files changed
+28
-11
No files matched your search
@@ -512,10 +512,11 @@ const listCalendars = (withCredentials) =>
|
||||
const createEvent = async (
|
||||
credential: Credential,
|
||||
calEvent: CalendarEvent,
|
||||
noMail = false
|
||||
noMail = false,
|
||||
maybeUid: string = null
|
||||
): Promise<EventResult> => {
|
||||
const parser: CalEventParser = new CalEventParser(calEvent);
|
||||
const uid: string = parser.getUid();
|
||||
const uid: string = maybeUid ?? parser.getUid();
|
||||
const richEvent: CalendarEvent = parser.asRichEvent();
|
||||
|
||||
let success = true;
|
||||
|
||||
Reference in new issue
Block a user