try to fix "Illegal attempt to associate a ManagedEntity with two open persistence contexts"

This commit is contained in:
Athou
2024-08-17 16:22:46 +02:00
parent 2395a2670e
commit e38ca66c51
3 changed files with 12 additions and 4 deletions

View File

@@ -157,7 +157,7 @@ public class FeedRefreshUpdater {
feedUpdated.mark();
}
unitOfWork.run(() -> feedService.save(feed));
unitOfWork.run(() -> feedService.update(feed));
notifyOverWebsocket(unreadCountBySubscription);