Add missing bean definition

This commit is contained in:
Andreas Svanberg 2024-06-10 13:11:22 +02:00
parent 08057c2956
commit 67b596753a

@ -127,6 +127,8 @@ import se.su.dsv.scipro.notifications.settings.service.ReceiverConfigurationServ
import se.su.dsv.scipro.oauth.OAuthServiceImpl;
import se.su.dsv.scipro.oauth.OAuthSettings;
import se.su.dsv.scipro.peer.CommentServiceImpl;
import se.su.dsv.scipro.peer.CommentThreadRepo;
import se.su.dsv.scipro.peer.CommentThreadServiceImpl;
import se.su.dsv.scipro.peer.PeerPortalImpl;
import se.su.dsv.scipro.peer.PeerRequestRepository;
import se.su.dsv.scipro.peer.PeerRequestService;
@ -1056,4 +1058,9 @@ public class CoreConfig {
{
return new Notifications(notificationController, notificationService, eventBus);
}
@Bean
public CommentThreadServiceImpl commentThreadService(CommentThreadRepo commentThreadRepository) {
return new CommentThreadServiceImpl(commentThreadRepository);
}
}