diff --git a/src/components/Modal/ModalConfirmConnect/ModalConfirmConnect.tsx b/src/components/Modal/ModalConfirmConnect/ModalConfirmConnect.tsx index c67a3eb..167912d 100644 --- a/src/components/Modal/ModalConfirmConnect/ModalConfirmConnect.tsx +++ b/src/components/Modal/ModalConfirmConnect/ModalConfirmConnect.tsx @@ -84,7 +84,7 @@ export const ModalConfirmConnect = () => { if (selectedActionType === ACTION_TYPE.BASIC) perms = [ACTION_TYPE.BASIC] if (pendingReqId) { - const options = { perms } + const options = { perms, appUrl } await confirmPending(pendingReqId, true, true, options) } else { try { diff --git a/src/modules/backend.ts b/src/modules/backend.ts index bff1bda..de9889e 100644 --- a/src/modules/backend.ts +++ b/src/modules/backend.ts @@ -661,7 +661,7 @@ export class NoauthBackend { timestamp: Date.now(), name: '', icon: '', - url: '', + url: options.appUrl || '', }) // reload