diff options
author | Dan Finlay <dan@danfinlay.com> | 2018-06-05 06:10:51 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2018-06-05 06:10:51 +0800 |
commit | 22754e3e1f496b2dde140eea56a88bc7237fda42 (patch) | |
tree | 8c93fbe7982bc24333bc108808835ed58c95f2bd /app | |
parent | 7b87afb4b72b36a581912365501295b685007869 (diff) | |
download | tangerine-wallet-browser-22754e3e1f496b2dde140eea56a88bc7237fda42.tar tangerine-wallet-browser-22754e3e1f496b2dde140eea56a88bc7237fda42.tar.gz tangerine-wallet-browser-22754e3e1f496b2dde140eea56a88bc7237fda42.tar.bz2 tangerine-wallet-browser-22754e3e1f496b2dde140eea56a88bc7237fda42.tar.lz tangerine-wallet-browser-22754e3e1f496b2dde140eea56a88bc7237fda42.tar.xz tangerine-wallet-browser-22754e3e1f496b2dde140eea56a88bc7237fda42.tar.zst tangerine-wallet-browser-22754e3e1f496b2dde140eea56a88bc7237fda42.zip |
Linted
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/controllers/preferences.js | 1 | ||||
-rw-r--r-- | app/scripts/lib/bug-notifier.js | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/app/scripts/controllers/preferences.js b/app/scripts/controllers/preferences.js index 0bfb3b5a3..b5171214f 100644 --- a/app/scripts/controllers/preferences.js +++ b/app/scripts/controllers/preferences.js @@ -2,6 +2,7 @@ const ObservableStore = require('obs-store') const normalizeAddress = require('eth-sig-util').normalize const extend = require('xtend') const notifier = require('../lib/bug-notifier') +const log = require('loglevel') const { version } = require('../../manifest.json') class PreferencesController { diff --git a/app/scripts/lib/bug-notifier.js b/app/scripts/lib/bug-notifier.js index bfb3e9770..4d305b894 100644 --- a/app/scripts/lib/bug-notifier.js +++ b/app/scripts/lib/bug-notifier.js @@ -9,7 +9,7 @@ function postData(uri, data) { body: JSON.stringify(data), // must match 'Content-Type' header credentials: 'same-origin', // include, same-origin, *omit headers: { - 'content-type': 'application/json' + 'content-type': 'application/json', }, method: 'POST', // *GET, POST, PUT, DELETE, etc. mode: 'cors', // no-cors, cors, *same-origin |