Add bug info under metadata key

feature/default_network_editable
Dan Finlay 7 years ago
parent 0eacee8e45
commit 7b87afb4b7
  1. 8
      app/scripts/controllers/preferences.js

@ -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…
Cancel
Save