Merge pull request #5907 from ViacheslavKlimov/fix/events-deletion

[3.3.3] Fix events deletion
This commit is contained in:
Andrew Shvayka 2022-01-17 13:37:21 +02:00 committed by GitHub
commit fe273d2835
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,10 +137,6 @@ public class BaseEventService implements EventService {
eventDao.removeAllByIds(eventsPageData.getData().stream()
.map(IdBased::getUuidId)
.collect(Collectors.toList()));
if (eventsPageData.hasNext()) {
eventsPageLink = eventsPageLink.nextPageLink();
}
} while (eventsPageData.hasNext());
}