mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
prevent loop when posting calendarrange to remote and updating remoteId
This commit is contained in:
@@ -44,6 +44,7 @@ class CalendarRangeToRemoteHandler implements MessageHandlerInterface
|
||||
$range = $this->calendarRangeRepository->find($calendarRangeMessage->getCalendarRangeId());
|
||||
|
||||
$this->remoteCalendarConnector->syncCalendarRange($range);
|
||||
$range->preventEnqueueChanges = true;
|
||||
|
||||
$this->entityManager->flush();
|
||||
}
|
||||
|
Reference in New Issue
Block a user