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);