Skip to content

Commit

Permalink
[MODORSERS-1026] - Added UserService to ApplicationConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
azizbekxm committed Mar 28, 2024
1 parent 75c4c08 commit 5326d4e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/org/folio/config/ApplicationConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5326d4e

Please sign in to comment.