Skip to content

Commit

Permalink
[NO-TASK] Fixed KYC redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
davidleomay committed Feb 2, 2024
1 parent 943e8ca commit 454350d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/screens/KycScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const KycScreen = ({ settings }: { settings?: AppSettings }) => {

let url = `${Environment.services}/kyc?code=${params.code}`;
params.headless && (url += "&headless=true");
params.redirect_uri && (url += `&kyc-redirect=${params.redirect_uri}`);
params.redirect_uri && (url += `&kyc-redirect=${encodeURIComponent(params.redirect_uri)}`);
openUrl(url, false);

setInputParams(params);
Expand Down

0 comments on commit 454350d

Please sign in to comment.