fix bug - same uuid for each event is a bug

This commit is contained in:
Kfir Dayan 2023-03-30 09:05:25 +03:00
parent a1d8757453
commit a1b1c326f8
2 changed files with 13 additions and 14 deletions

View file

@ -5,9 +5,9 @@ PRODID:https://mhaifafc.com/
METHOD:PUBLISH
X-PUBLISHED-TTL:PT1H
BEGIN:VEVENT
UID:cba9cb6a-56ae-4730-ba62-b98032e7767a
UID:OOg8oTxogguu8rzrqhISi
SUMMARY:Maccabi Haifa F.C.
DTSTAMP:20230329T074644Z
DTSTAMP:20230330T060421Z
DTSTART:20230401T170000Z
DTEND:20230401T190000Z
DESCRIPTION:Maccabi Haifa vs. H Be'er Sheva
@ -19,9 +19,9 @@ ORGANIZER;CN=Maccabi Haifa F.C.
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
END:VEVENT
BEGIN:VEVENT
UID:cba9cb6a-56ae-4730-ba62-b98032e7767a
UID:dF2NNZZYkoYqyT9lUvRUL
SUMMARY:Maccabi Haifa F.C.
DTSTAMP:20230329T074644Z
DTSTAMP:20230330T060421Z
DTSTART:20230404T173000Z
DTEND:20230404T193000Z
DESCRIPTION:Maccabi Tel aviv vs. Maccabi Haifa
@ -33,9 +33,9 @@ ORGANIZER;CN=Maccabi Haifa F.C.
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
END:VEVENT
BEGIN:VEVENT
UID:cba9cb6a-56ae-4730-ba62-b98032e7767a
UID:w1jpYkmLHn22sPStvLVvX
SUMMARY:Maccabi Haifa F.C.
DTSTAMP:20230329T074644Z
DTSTAMP:20230330T060421Z
DTSTART:20230408T170000Z
DTEND:20230408T190000Z
DESCRIPTION:Maccabi Haifa vs. Maccabi Netanya
@ -47,9 +47,9 @@ ORGANIZER;CN=Maccabi Haifa F.C.
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
END:VEVENT
BEGIN:VEVENT
UID:cba9cb6a-56ae-4730-ba62-b98032e7767a
UID:Ltl5msGiuujEh6aXPj7R6
SUMMARY:Maccabi Haifa F.C.
DTSTAMP:20230329T074644Z
DTSTAMP:20230330T060421Z
DTSTART:20230415T153000Z
DTEND:20230415T173000Z
DESCRIPTION:Hapoel Jerusalem vs. Maccabi Haifa
@ -61,9 +61,9 @@ ORGANIZER;CN=Maccabi Haifa F.C.
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
END:VEVENT
BEGIN:VEVENT
UID:cba9cb6a-56ae-4730-ba62-b98032e7767a
UID:mhXQ-EHi3UTLDyP_f0X7C
SUMMARY:Maccabi Haifa F.C.
DTSTAMP:20230329T074644Z
DTSTAMP:20230330T060421Z
DTSTART:20230423T173000Z
DTEND:20230423T193000Z
DESCRIPTION:F.C Ashdod vs. Maccabi Haifa
@ -75,9 +75,9 @@ ORGANIZER;CN=Maccabi Haifa F.C.
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
END:VEVENT
BEGIN:VEVENT
UID:cba9cb6a-56ae-4730-ba62-b98032e7767a
UID:rlUHEdqvIN_bym5lWst2Q
SUMMARY:Maccabi Haifa F.C.
DTSTAMP:20230329T074644Z
DTSTAMP:20230330T060421Z
DTSTART:20230501T173000Z
DTEND:20230501T193000Z
DESCRIPTION:H Be'er Sheva vs. Maccabi Haifa

View file

@ -36,8 +36,7 @@ export default class Ics {
attendees: [],
alarms: [],
categories: [],
organizer: { name: 'Maccabi Haifa F.C.', email: '' },
uid: uuid.toString(),
organizer: { name: 'Maccabi Haifa F.C.', email: '' }
};
return icsEvent;
}