mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-24 08:04:11 +08:00
fix(onboarding): pass along accountId too
This commit is contained in:
parent
cba6ccc220
commit
db899491ea
1 changed files with 2 additions and 1 deletions
|
@ -49,7 +49,8 @@ class PageRouterStore extends NylasStore
|
|||
n1_id = encode(NylasEnv.config.get("updateIdentity"))
|
||||
email = encode(account.emailAddress)
|
||||
provider = encode(account.provider)
|
||||
params = "?n=#{n1_id}&e=#{email}&p=#{provider}"
|
||||
accountId = encode(account.id)
|
||||
params = "?n=#{n1_id}&e=#{email}&p=#{provider}&a=#{accountId}"
|
||||
{shell} = require('electron')
|
||||
shell.openExternal("https://nylas.com/welcome#{params}", activate: false)
|
||||
|
||||
|
|
Loading…
Reference in a new issue