Skip to content

Commit

Permalink
style: improve code style
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaGiulianelli committed May 18, 2023
1 parent d3a637f commit 6cec68a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ class ExternalServiceCaller(engine: HttpClientEngine = OkHttp.create(), avoidChe
checkNotNull(System.getenv(STAFF_TRACKING_URL)) { "Staff Tracking microservice url required" }
checkNotNull(System.getenv(BUILDING_MANAGEMENT_URL)) { "Building Management microservice url required" }
}
patientManagementIntegrationUrl = System.getenv(PATIENT_MANAGEMENT_URL) ?: ""
staffTrackingUrl = System.getenv(STAFF_TRACKING_URL) ?: ""
buildingManagement = System.getenv(BUILDING_MANAGEMENT_URL) ?: ""
patientManagementIntegrationUrl = System.getenv(PATIENT_MANAGEMENT_URL).orEmpty()
staffTrackingUrl = System.getenv(STAFF_TRACKING_URL).orEmpty()
buildingManagement = System.getenv(BUILDING_MANAGEMENT_URL).orEmpty()
}

private val httpClient = HttpClient(engine) {
Expand Down

0 comments on commit 6cec68a

Please sign in to comment.