Skip to content

Commit

Permalink
fix issue with broken redirect - pass correct parameter (#198)
Browse files Browse the repository at this point in the history
Co-authored-by: Amy Chen <clone@cesium.cirg.washington.edu>
  • Loading branch information
achen2401 and Amy Chen authored Sep 13, 2023
1 parent 1668e49 commit 39e7597
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions patientsearch/src/js/components/ClientAppRedirect.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ export default function ClientAppRedirect() {
};
const targetAppURL = getAppLaunchURL(
patientId,
getTargetClientLaunchURL(),
appSettings
{
...appSettings,
"launch_url": getTargetClientLaunchURL()
}
);
const allowToLaunch = patientId && targetAppURL;
const renderError = (message) => {
Expand Down

0 comments on commit 39e7597

Please sign in to comment.