mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Add bug info under metadata key
This commit is contained in:
parent
0eacee8e45
commit
7b87afb4b7
@ -133,7 +133,13 @@ class PreferencesController {
|
||||
// Notify our servers:
|
||||
const uri = 'https://diagnostics.metamask.io/v1/orphanedAccounts'
|
||||
const firstTimeInfo = this.getFirstTimeInfo ? this.getFirstTimeInfo() : {}
|
||||
notifier.notify(uri, { accounts: Object.keys(newlyLost), version, firstTimeInfo })
|
||||
notifier.notify(uri, {
|
||||
accounts: Object.keys(newlyLost),
|
||||
metadata: {
|
||||
version,
|
||||
firstTimeInfo,
|
||||
},
|
||||
})
|
||||
.catch(log.error)
|
||||
|
||||
for (let key in newlyLost) {
|
||||
|
Loading…
Reference in New Issue
Block a user