mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-03 03:23:45 +08:00
fix(analytics): fix errors in onboarding flow
This commit is contained in:
parent
7e0c513805
commit
b5a53a49ee
1 changed files with 2 additions and 2 deletions
|
@ -60,13 +60,13 @@ export function buildGmailAuthURL(sessionKey) {
|
|||
}
|
||||
|
||||
export function buildWelcomeURL() {
|
||||
const identity = IdentityStore().identity();
|
||||
const identity = IdentityStore.identity();
|
||||
if (!identity) { NylasEnv.reportError(new Error("Can't find Nylas ID")) }
|
||||
return url.format({
|
||||
protocol: 'https',
|
||||
host: 'nylas.com/welcome',
|
||||
query: {
|
||||
n: base64url(id),
|
||||
n: base64url(identity.id),
|
||||
},
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue