Skip to content

Commit

Permalink
fix: correct url to patient management microservice
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaGiulianelli authored May 30, 2023
1 parent 478b75b commit 1f9e589
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ class DigitalTwinSurgeryBookingManager : SurgeryBookingManager {
*/
private fun requestHealthCareUserInformation(healthcareUserTaxCode: String): HealthcareUser {
val toRet = runBlocking {
val url = "${System.getenv(patientManagementMicroserviceUrl)}patients/$healthcareUserTaxCode"
val url = "${System.getenv(patientManagementMicroserviceUrl)}/patients/$healthcareUserTaxCode"
val client = HttpClient(CIO)
val response = Json.decodeFromString<HealthcareUserDto>(client.get(url).body())
val name = response.name
Expand Down

0 comments on commit 1f9e589

Please sign in to comment.