diff --git a/src/main/java/edu/hawaii/its/api/controller/OotbRestController.java b/src/main/java/edu/hawaii/its/api/controller/OotbRestController.java index 4b67979c6..5719942a1 100644 --- a/src/main/java/edu/hawaii/its/api/controller/OotbRestController.java +++ b/src/main/java/edu/hawaii/its/api/controller/OotbRestController.java @@ -55,19 +55,19 @@ public OotbRestController(UserContextService userContextService, this.ootbHttpRequestService = ootbHttpRequestService; } - @EventListener - public void onApplicationEvent(ContextRefreshedEvent event) { - init(); - } - - public void init() { - String adminProfile = ootbActiveUserProfileService.findGivenNameForAdminRole(); - if (adminProfile != null) { - updateActiveDefaultUser(adminProfile); - } else { - logger.error("Admin profile not found, unable to initiate default API request."); - } - } +// @EventListener +// public void onApplicationEvent(ContextRefreshedEvent event) { +// init(); +// } +// +// public void init() { +// String adminProfile = ootbActiveUserProfileService.findGivenNameForAdminRole(); +// if (adminProfile != null) { +// updateActiveDefaultUser(adminProfile); +// } else { +// logger.error("Admin profile not found, unable to initiate default API request."); +// } +// } /* * Checks to make sure that the API is running and that there are no issues with