From d041e74153d3691e18730f7ca643d9a43ffa6928 Mon Sep 17 00:00:00 2001 From: Ben Date: Thu, 5 Jan 2023 13:58:47 +0000 Subject: [PATCH] Add persistent unique identifier to events so they can be updated on sync --- src/Commands/GenerateCalendar.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Commands/GenerateCalendar.php b/src/Commands/GenerateCalendar.php index 825eb872..ff96d444 100644 --- a/src/Commands/GenerateCalendar.php +++ b/src/Commands/GenerateCalendar.php @@ -127,6 +127,9 @@ protected function execute(InputInterface $input, OutputInterface $output): int ); $calendarEvent = Event::create() + ->uniqueIdentifier( + uid: $event['eventID'] + ) ->name( name: $eventName )