Added maybeUid to CalEventParser

This commit is contained in:
nicolas committed 2021-07-25 19:15:31 +02:00
1 parent 65fd733751
commit 2b38638d84
4 files changed
+11 -7

No files matched your search

+2 -2
View File
@@ -515,8 +515,8 @@ const createEvent = async (
noMail = false,
maybeUid: string = null
): Promise<EventResult> => {
const parser: CalEventParser = new CalEventParser(calEvent);
const uid: string = maybeUid ?? parser.getUid();
const parser: CalEventParser = new CalEventParser(calEvent, maybeUid);
const uid: string = parser.getUid();
const richEvent: CalendarEvent = parser.asRichEvent();
let success = true;