From 5326d4e481e7e0d913af01911d3475bb57a43e1a Mon Sep 17 00:00:00 2001 From: Azizbek Khushvakov Date: Thu, 28 Mar 2024 17:34:22 +0500 Subject: [PATCH] [MODORSERS-1026] - Added UserService to ApplicationConfig --- src/main/java/org/folio/config/ApplicationConfig.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/org/folio/config/ApplicationConfig.java b/src/main/java/org/folio/config/ApplicationConfig.java index 6d1e885ec..0dab116a6 100644 --- a/src/main/java/org/folio/config/ApplicationConfig.java +++ b/src/main/java/org/folio/config/ApplicationConfig.java @@ -441,6 +441,11 @@ RoutingListService routingListService(RestClient restClient, UserService userSer return new RoutingListService(restClient, userService); } + @Bean + UserService userService(RestClient restClient) { + return new UserService(restClient); + } + @Bean TitlesService titlesService(RestClient restClient, ProtectionService protectionService, InventoryManager inventoryManager) { return new TitlesService(restClient, protectionService, inventoryManager);