Skip to content

Commit

Permalink
Fix #4484 : Target URL incorrectly formatted for Create Patient RESTf…
Browse files Browse the repository at this point in the history
…ul Forward
  • Loading branch information
vrindanayak committed Apr 22, 2024
1 parent 4909b1e commit f3d6893
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ private String targetURI(RSOperation rsOp,
+ (serviceURL.endsWith("rs/") ? "" : "/")
+ requestURI.substring(requestURI.indexOf("/rs/") + 4);
if (rsOp == RSOperation.CreatePatient)
targetURI += patientID;
targetURI += "/" + patientID;
}
} catch (Exception e) {
LOG.warn("Failed to construct Target URL. \n", e);
Expand Down

0 comments on commit f3d6893

Please sign in to comment.