Skip to content

Commit

Permalink
[@dhealthdapps/backend] fix(screens): add encode uri component for mo…
Browse files Browse the repository at this point in the history
…bile button
  • Loading branch information
kravchenkodhealth authored and evias committed Jan 11, 2023
1 parent 8c91af5 commit e3fc155
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,9 @@ export default class LoginScreen extends MetaView {
* @returns {string}
*/
protected get mobileHref(): string {
return `dhealth://sign?payload=${this.qrConfig?.toJSON()}`;
return `dhealth://sign?payload=${encodeURIComponent(
this.qrConfig?.toJSON() as string
)}`;
}

/**
Expand Down

0 comments on commit e3fc155

Please sign in to comment.