Skip to content

Commit

Permalink
Add persistent unique identifier to events so they can be updated on …
Browse files Browse the repository at this point in the history
…sync
  • Loading branch information
othyn committed Jan 5, 2023
1 parent ae796c0 commit d041e74
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Commands/GenerateCalendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ protected function execute(InputInterface $input, OutputInterface $output): int
);

$calendarEvent = Event::create()
->uniqueIdentifier(
uid: $event['eventID']
)
->name(
name: $eventName
)
Expand Down

0 comments on commit d041e74

Please sign in to comment.